From: Tim Kientzle Date: Wed, 30 Apr 2008 22:09:53 +0000 (-0400) Subject: Mark 'check' and 'test' targets as .PHONY X-Git-Tag: v2.6.0~285 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1d718c3b69287bc706f6a9e0e25d92eb74bbe8cf;p=thirdparty%2Flibarchive.git Mark 'check' and 'test' targets as .PHONY SVN-Revision: 7 --- diff --git a/cpio/Makefile b/cpio/Makefile index db20ce922..d8eb951b1 100644 --- a/cpio/Makefile +++ b/cpio/Makefile @@ -11,7 +11,9 @@ LDADD+= -larchive -lz -lbz2 SYMLINKS=bsdcpio ${BINDIR}/cpio MLINKS= bsdcpio.1 cpio.1 -check: $(PROG) +.PHONY: check test + +check test: $(PROG) bsdcpio.1.gz cd ${.CURDIR}/test && make clean test .include diff --git a/libarchive/Makefile b/libarchive/Makefile index 585b89771..92fe0a8fa 100644 --- a/libarchive/Makefile +++ b/libarchive/Makefile @@ -244,7 +244,8 @@ MLINKS+= archive_write_disk.3 archive_write_disk_set_standard_lookup.3 MLINKS+= archive_write_disk.3 archive_write_disk_set_user_lookup.3 MLINKS+= libarchive.3 archive.3 -check: +.PHONY: check test +check test: cd ${.CURDIR}/test && make test .include diff --git a/tar/Makefile b/tar/Makefile index 44098eac8..fbfa1a107 100644 --- a/tar/Makefile +++ b/tar/Makefile @@ -12,7 +12,8 @@ CFLAGS+= -I${.CURDIR} SYMLINKS= bsdtar ${BINDIR}/tar MLINKS= bsdtar.1 tar.1 -check: $(PROG) +.PHONY: check test +check test: $(PROG) bsdtar.1.gz cd ${.CURDIR}/test && make clean test .include