diff --git a/mk/osx.mk b/mk/osx.mk index 9dd09d7e3..b4c8560c2 100644 --- a/mk/osx.mk +++ b/mk/osx.mk @@ -29,18 +29,11 @@ else VERSION_PACKAGE = $(VERSION_STRING)-r$(VERSION_REVISION) endif -URL = printf "[InternetShortcut]\nURL=http://transmission.m0k.org%s\n" define PACKAGE_RULE1 $(RM) tmp "Transmission $(VERSION_PACKAGE)" \ Transmission-$(VERSION_PACKAGE).dmg mkdir -p tmp cp -R macosx/Transmission.app tmp/ - cp AUTHORS tmp/AUTHORS.txt - cp LICENSE tmp/LICENSE.txt - cp NEWS tmp/NEWS.txt - $(URL) "/" > tmp/Homepage.url - $(URL) "/forum" > tmp/Forums.url - $(URL) "/contribute.php" > tmp/Contribute.url endef define PACKAGE_RULE2 mv tmp "Transmission $(VERSION_PACKAGE)" diff --git a/version.sh b/version.sh index 0f23c6f1f..646fe37bf 100755 --- a/version.sh +++ b/version.sh @@ -4,7 +4,7 @@ # Get current SVN revision from Ids in all source files REVMAX=0 -for pattern in '*.[chm]' '*.cpp' '*.po' '*.mk' 'Makefile' 'configure'; do +for pattern in '*.[chm]' '*.cpp' '*.po' '*.mk' '*.in' 'Makefile' 'configure'; do for f in `find . -name "$pattern"`; do REV=`sed -e '/\$Id:/!d' -e \ 's/.*\$Id: [^ ]* \([0-9]*\) .*/\1/' \