* [gentoo-commits] gentoo-x86 commit in app-misc/lockfile-progs/files: Makefile
@ 2009-12-18 17:37 PaweA Hajdan (phajdan.jr)
0 siblings, 0 replies; 3+ messages in thread
From: PaweA Hajdan (phajdan.jr) @ 2009-12-18 17:37 UTC (permalink / raw
To: gentoo-commits
phajdan.jr 09/12/18 17:37:06
Added: Makefile
Log:
Adding app-misc/lockfile-progs to the tree (bug #106393).
Will be needed for the logcheck package (bug #105816).
(Portage version: 2.1.6.13/cvs/Linux i686)
Revision Changes Path
1.1 app-misc/lockfile-progs/files/Makefile
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/lockfile-progs/files/Makefile?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/lockfile-progs/files/Makefile?rev=1.1&content-type=text/plain
Index: Makefile
===================================================================
all: lockfile-create
.PHONY: all
install: all
install -d $(DESTDIR)/usr/bin
install --mode=755 lockfile-create $(DESTDIR)/usr/bin/lockfile-create
ln -s lockfile-create $(DESTDIR)/usr/bin/lockfile-remove
ln -s lockfile-create $(DESTDIR)/usr/bin/lockfile-touch
ln -s lockfile-create $(DESTDIR)/usr/bin/lockfile-check
install --mode=755 lockfile-create $(DESTDIR)/usr/bin/mail-lock
ln -s mail-lock $(DESTDIR)/usr/bin/mail-unlock
ln -s mail-unlock $(DESTDIR)/usr/bin/mail-touchlock
install -d $(DESTDIR)/usr/share/man/man1
install --mode=644 lockfile-progs.1 $(DESTDIR)/usr/share/man/man1
ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/lockfile-create.1
ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/lockfile-remove.1
ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/lockfile-touch.1
ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/lockfile-check.1
ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/mail-lock.1
ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/mail-unlock.1
ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/mail-touchlock.1
.PHONY: install
lockfile-create: lockfile-progs.o
${CC} -o $@ ${CFLAGS} ${LDFLAGS} $^ -llockfile
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-misc/lockfile-progs/files: Makefile
@ 2010-02-24 11:56 PaweA Hajdan (phajdan.jr)
0 siblings, 0 replies; 3+ messages in thread
From: PaweA Hajdan (phajdan.jr) @ 2010-02-24 11:56 UTC (permalink / raw
To: gentoo-commits
phajdan.jr 10/02/24 11:56:58
Modified: Makefile
Log:
Add a test suite.
(Portage version: 2.1.7.16/cvs/Linux i686)
Revision Changes Path
1.2 app-misc/lockfile-progs/files/Makefile
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/lockfile-progs/files/Makefile?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/lockfile-progs/files/Makefile?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/lockfile-progs/files/Makefile?r1=1.1&r2=1.2
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-misc/lockfile-progs/files/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Makefile 18 Dec 2009 17:37:06 -0000 1.1
+++ Makefile 24 Feb 2010 11:56:57 -0000 1.2
@@ -1,5 +1,7 @@
all: lockfile-create
-.PHONY: all
+
+lockfile-create: lockfile-progs.o
+ ${CC} -o $@ ${CFLAGS} ${LDFLAGS} $^ -llockfile
install: all
install -d $(DESTDIR)/usr/bin
@@ -24,7 +26,26 @@
ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/mail-lock.1
ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/mail-unlock.1
ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/mail-touchlock.1
-.PHONY: install
-lockfile-create: lockfile-progs.o
- ${CC} -o $@ ${CFLAGS} ${LDFLAGS} $^ -llockfile
+test: all
+ lockfile-create testfile
+ lockfile-check testfile
+ lockfile-touch --oneshot testfile
+ lockfile-check testfile
+ lockfile-remove testfile
+ ! test -e testfile
+ ! lockfile-check testfile
+
+ lockfile-create --lock-name test.lock
+ lockfile-check --lock-name test.lock
+ ! lockfile-check test.lock
+ ! test -e test.lock.lock
+ lockfile-touch --oneshot --lock-name test.lock
+ lockfile-check --lock-name test.lock
+ ! lockfile-check test.lock
+ lockfile-remove --lock-name test.lock
+ ! test -e test.lock
+ ! lockfile-check --lock-name test.lock
+ ! lockfile-check test.lock
+
+.PHONY: install test
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-misc/lockfile-progs/files: Makefile
@ 2010-04-12 17:55 PaweA Hajdan (phajdan.jr)
0 siblings, 0 replies; 3+ messages in thread
From: PaweA Hajdan (phajdan.jr) @ 2010-04-12 17:55 UTC (permalink / raw
To: gentoo-commits
phajdan.jr 10/04/12 17:55:57
Modified: Makefile
Log:
Run tests correctly, bug #314831 by Dustin Polke
<gentoobugsie.20.dsurawicz@spamgourmet.com>
(Portage version: 2.1.7.17/cvs/Linux i686)
Revision Changes Path
1.3 app-misc/lockfile-progs/files/Makefile
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/lockfile-progs/files/Makefile?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/lockfile-progs/files/Makefile?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/lockfile-progs/files/Makefile?r1=1.2&r2=1.3
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-misc/lockfile-progs/files/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Makefile 24 Feb 2010 11:56:57 -0000 1.2
+++ Makefile 12 Apr 2010 17:55:57 -0000 1.3
@@ -28,24 +28,28 @@
ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/mail-touchlock.1
test: all
- lockfile-create testfile
- lockfile-check testfile
- lockfile-touch --oneshot testfile
- lockfile-check testfile
- lockfile-remove testfile
+ ln -s lockfile-create ./lockfile-remove
+ ln -s lockfile-create ./lockfile-touch
+ ln -s lockfile-create ./lockfile-check
+
+ ./lockfile-create testfile
+ ./lockfile-check testfile
+ ./lockfile-touch --oneshot testfile
+ ./lockfile-check testfile
+ ./lockfile-remove testfile
! test -e testfile
- ! lockfile-check testfile
+ ! ./lockfile-check testfile
- lockfile-create --lock-name test.lock
- lockfile-check --lock-name test.lock
- ! lockfile-check test.lock
+ ./lockfile-create --lock-name test.lock
+ ./lockfile-check --lock-name test.lock
+ ! ./lockfile-check test.lock
! test -e test.lock.lock
- lockfile-touch --oneshot --lock-name test.lock
- lockfile-check --lock-name test.lock
- ! lockfile-check test.lock
- lockfile-remove --lock-name test.lock
+ ./lockfile-touch --oneshot --lock-name test.lock
+ ./lockfile-check --lock-name test.lock
+ ! ./lockfile-check test.lock
+ ./lockfile-remove --lock-name test.lock
! test -e test.lock
- ! lockfile-check --lock-name test.lock
- ! lockfile-check test.lock
+ ! ./lockfile-check --lock-name test.lock
+ ! ./lockfile-check test.lock
.PHONY: install test
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-04-12 17:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-18 17:37 [gentoo-commits] gentoo-x86 commit in app-misc/lockfile-progs/files: Makefile PaweA Hajdan (phajdan.jr)
-- strict thread matches above, loose matches on Subject: below --
2010-02-24 11:56 PaweA Hajdan (phajdan.jr)
2010-04-12 17:55 PaweA Hajdan (phajdan.jr)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox