From: Hans U. N. <hu...@us...> - 2005-03-26 18:08:04
|
Update of /cvsroot/libexif/libexif In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv975 Modified Files: Makefile.am .cvsignore Log Message: a little help for the maintainer Index: .cvsignore =================================================================== RCS file: /cvsroot/libexif/libexif/.cvsignore,v retrieving revision 1.8 retrieving revision 1.9 diff -u -p -d -r1.8 -r1.9 --- .cvsignore 13 Mar 2005 02:15:48 -0000 1.8 +++ .cvsignore 26 Mar 2005 18:07:53 -0000 1.9 @@ -18,8 +18,8 @@ config.sub config.rpath configure install-sh -libexif.pc -libexif.spec +*.pc +*.spec libtool ltmain.sh missing @@ -30,3 +30,5 @@ stamp-h.in conftest conftest.c ABOUT-NLS +ChangeLog.cvs +cvs2cl.usermap Index: Makefile.am =================================================================== RCS file: /cvsroot/libexif/libexif/Makefile.am,v retrieving revision 1.34 retrieving revision 1.35 diff -u -p -d -r1.34 -r1.35 --- Makefile.am 13 Mar 2005 22:21:01 -0000 1.34 +++ Makefile.am 26 Mar 2005 18:07:53 -0000 1.35 @@ -1,6 +1,40 @@ SUBDIRS = m4 po libexif libjpeg test -EXTRA_DIST = @PACKAGE@.spec +EXTRA_DIST = @PACKAGE_TARNAME@.spec -# It is not sufficient to have these options somewhere in autogen.sh! ACLOCAL_AMFLAGS = -I m4 + +####################################################################### +# Help for the maintainer +# + +# Simulate something like +# EXTRA_DIST_IF_EXIST = ChangeLog.cvs +# If present, ship ChangeLog.cvs in source tarball. +# If not present, don't ship it. +dist-hook: + if test -f $(srcdir)/ChangeLog.cvs; then \ + cp -p $(srcdir)/ChangeLog.cvs $(distdir)/ChangeLog.cvs; \ + fi + +.PHONY: cvs-changelog +cvs-changelog: $(srcdir)/ChangeLog.cvs + +.PHONY: $(srcdir)/ChangeLog.cvs +$(srcdir)/ChangeLog.cvs: + if test -f "$(srcdir)/cvs2cl.usermap"; then \ + usermap="--usermap ./cvs2cl.usermap"; \ + else \ + usermap=""; \ + fi; \ + (cd "$(srcdir)" && cvs2cl $${usermap} -f "ChangeLog.cvs") + +.PHONY: cvs-tag-release +cvs-tag-release: + @tag="$$(echo "$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-release" | sed 's|\.|_|g')"; \ + echo "Are you sure you want to CVS tag \`$${tag}' your source files?"; \ + echo "Press Ctrl-C to abort, Enter to continue."; \ + read; \ + cd "$(srcdir)" && cvs tag "$${tag}" + +# End of Makefile.am. |