X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.in;h=63792cb599b2398b219fc14e2a1f27f2a898dbc2;hb=8afc01a67be4fbf3f1cc0fce9adf01b5289a21c6;hp=c8e034f336457fe6f1dfa76a0aa278f995d63c24;hpb=de460e831dc8578acfa8b72251ab9346c99c1f96;p=xscreensaver diff --git a/Makefile.in b/Makefile.in index c8e034f3..63792cb5 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in --- xscreensaver, Copyright (c) 1999-2008 Jamie Zawinski. +# Makefile.in --- xscreensaver, Copyright (c) 1999-2010 Jamie Zawinski. # the `../configure' script generates `Makefile' from this file. @SET_MAKE@ @@ -6,20 +6,21 @@ srcdir = @srcdir@ VPATH = @srcdir@ SHELL = /bin/sh -SUBDIRS = utils driver hacks hacks/glx po +SUBDIRS = utils driver hacks hacks/glx po +#SUBDIRS = utils driver hacks hacks/glx SUBDIRS2 = $(SUBDIRS) OSX TARFILES = README README.hacking README.VMS INSTALL \ configure configure.in Makefile.in config.h.in \ config.h-vms install-sh setup.com config.guess aclocal.m4 \ - config.sub makevms.com \ + ax_pthread.m4 config.sub makevms.com \ intltool-merge.in intltool-extract.in intltool-update.in \ xscreensaver.spec \ xscreensaver.xcodeproj/project.pbxproj TAR = tar -MAKE_SUBDIR = for dir in $(SUBDIRS); do (cd $$dir; $(MAKE) $@) || exit 5; done -MAKE_SUBDIR2 = for dir in $(SUBDIRS2);do (cd $$dir; $(MAKE) $@) || exit 5; done +MAKE_SUBDIR = for dir in $(SUBDIRS); do $(MAKE) -C $$dir $@ || exit 5; done +MAKE_SUBDIR2 = for dir in $(SUBDIRS2); do $(MAKE) -C $$dir $@ || exit 5; done default:: @$(MAKE_SUBDIR) @@ -44,7 +45,7 @@ depend:: distdepend:: @$(MAKE) update_spec_version @$(MAKE_SUBDIR2) - @cd po ; $(MAKE) update-po + @$(MAKE) -C po update-po TAGS:: tags tags:: @@ -80,7 +81,8 @@ tar:: ` "; \ cd $$d ; done ; \ echo creating tar file $$ADIR$$NAME.tar.gz... ; \ - GZIP="-9v" $(TAR) -vchzf $$ADIR$$NAME.tar.gz \ + export COPYFILE_DISABLE=true ; \ + GZIP="-9v" $(TAR) -vczf $$ADIR$$NAME.tar.gz \ `echo $(TARFILES) $$FILES | sed "s|^|$$NAME/|g; s| | $$NAME/|g" ` ; \ rm $$NAME @@ -277,7 +279,7 @@ test-tar:: chmod -R u+w . dmg:: - cd OSX ; $(MAKE) release dmg + $(MAKE) -C OSX release dmg www:: @ \ @@ -292,6 +294,13 @@ www:: NAME2="$$ADIR$$BNAME2" ; \ DNAME2="$$DEST/$$HEAD.dmg" ; \ \ + if ! git diff --quiet ; then \ + echo "uncommitted changes exist!" ; \ + exit 1 ; \ + fi ; \ + \ + $(MAKE) -C OSX updates.xml ; \ + \ if [ ! -f $$NAME ]; then \ echo "$$NAME does not exist! Did you forget to \`make tar'?" ; \ exit 1 ; \ @@ -315,36 +324,45 @@ www:: exit 1 ; \ fi ; \ fi ; \ + \ + git commit -a -m "$$VERS" . ; \ + git tag -a "v$$VERS" -m "$$VERS" . ; \ + \ + ( cd $$DEST ; git pull . ) ; \ + \ cp -p $$NAME $$DNAME ; \ cp -p $$NAME2 $$DNAME2 ; \ chmod u+w $$DNAME $$DNAME2 ; \ + cp -p OSX/updates.xml $$DEST ; \ cd $$DEST ; \ \ TMP=/tmp/xd.$$$$ ; \ - sed "s/xscreensaver-5\.[0-9][0-9ab]*/$$HEAD/g" download.html > $$TMP ; \ + sed "s/xscreensaver-5\.[0-9][0-9ab]*/$$HEAD/g" download.html > $$TMP ; \ echo '' ; \ diff -U0 download.html $$TMP ; \ echo '' ; \ \ for EXT in tar.gz dmg ; do \ - OLDEST=`ls xscreensaver*.$$EXT | head -n 1` ; \ + OLDEST=`ls xscreensaver*.$$EXT | \ + fgrep -v 5.14 | \ + head -n 1` ; \ /bin/echo -n "Delete $$DEST/$$OLDEST? "; \ read line; \ if [ "x$$line" = "xyes" -o "x$$line" = "xy" ]; then \ set -x ; \ rm $$OLDEST ; \ - cvs remove $$OLDEST ; \ - else \ - set -x ; \ + git rm $$OLDEST ; \ + set +x ; \ fi ; \ done ; \ - cvs add -kb $$BNAME $$BNAME2 ; \ + set -x ; \ cat $$TMP > download.html ; \ rm -f $$TMP ; \ \ - (cd ..; $(MAKE) xscreensaver/changelog.html \ - xscreensaver/screenshots/index.html ); \ - cvs diff -U0 changelog.html ; \ + git add $$BNAME $$BNAME2 ; \ + \ + $(MAKE) -C ../ xscreensaver/changelog.html xscreensaver/screenshots/index.html; \ + git diff changelog.html ; \ set +x ; \ \ /bin/echo -n "Ok? "; \ @@ -353,7 +371,9 @@ www:: exit 1 ; \ fi ; \ \ - cvs commit -m "$$VERS" + git commit -m "$$VERS" . ; \ + git tag -a "v$$VERS" -m "$$VERS" . ; \ + git push . ; \ count::