mirror of
https://github.com/transmission/transmission
synced 2025-03-09 21:54:09 +00:00
Only put Transmission.app in the dmg
This commit is contained in:
parent
73d53eec8a
commit
eda6e833a3
2 changed files with 1 additions and 8 deletions
|
@ -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)"
|
||||
|
|
|
@ -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/' \
|
||||
|
|
Loading…
Add table
Reference in a new issue