From: Hans U. N. <hu...@us...> - 2003-10-22 17:01:27
|
Update of /cvsroot/gphoto/libgphoto2 In directory sc8-pr-cvs1:/tmp/cvs-serv21917 Modified Files: Makefile.am Log Message: use just ONE .PHONY target in order not to confuse automake Index: Makefile.am =================================================================== RCS file: /cvsroot/gphoto/libgphoto2/Makefile.am,v retrieving revision 1.43 retrieving revision 1.44 diff -u -d -r1.43 -r1.44 --- Makefile.am 18 Oct 2003 20:35:27 -0000 1.43 +++ Makefile.am 22 Oct 2003 14:33:32 -0000 1.44 @@ -11,6 +11,10 @@ doc_DATA = AUTHORS COPYING README CHANGES NEWS +# we use just ONE .PHONY target in order not to confuse automake + +.PHONY: rpm cvs-tags source-code-check + ######################################################################## # source code check maintenance task # @@ -21,7 +25,6 @@ # # The output is meant to be read and interpreted by human programmers. -.PHONY: source-code-check source-code-check: @echo "######## Finding // comments" find . -type f -name '*.[ch]' -exec egrep -H '(^//|[^:]//)' {} \; @@ -41,6 +44,7 @@ ACLOCAL_AMFLAGS = -I libgphoto2_port/m4 AUTOMAKE_OPTIONS = gnu + ######################################################################## # The following rules are only interesting if you want to create # distribution packages (as source tarballs or system specific packages) @@ -48,20 +52,24 @@ if ENABLE_RPM # create RPM packages -.PHONY: rpm rpm: Makefile $(MAKE) dist $(MAKE) -C packaging/rpm rpm @echo "The RPM packages should now be found in packaging/rpm/RPMS" +else +rpm: + @echo "Dummy $@ target" endif if MAINTAINER_MODE # add CVS tags - used only by the project maintainer to tag the files of a # released version -.PHONY: cvs-tags cvs-tags: Makefile @echo cvs tag "@PACKAGE@-$$(echo '@VERSION@' | sed -e 's/\./_/g' -e 's/rc/-rc/g')" +else +cvs-tags: + @echo "Dummy $@ target" endif |