Only put Transmission.app in the dmg

This commit is contained in:
Eric Petit 2006-06-22 03:41:19 +00:00
parent 73d53eec8a
commit eda6e833a3
2 changed files with 1 additions and 8 deletions

View File

@ -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)"

View File

@ -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/' \