Author: ranger
Date: Tue Mar 27 16:04:06 2007
New Revision: 746

URL: 
<http://svn.finkproject.org/websvn/listing.php?sc=1&rev=746&repname=user%3a+ranger>
Log:
major rearranging of the makefile, also added qt-extras

Modified:
    trunk/kde-mac/Makefile

Modified: trunk/kde-mac/Makefile
URL: 
<http://svn.finkproject.org/websvn/diff.php?path=/trunk/kde-mac/Makefile&rev=746&repname=user%3a+ranger>
==============================================================================
--- trunk/kde-mac/Makefile (original)
+++ trunk/kde-mac/Makefile Tue Mar 27 16:04:06 2007
@@ -2,56 +2,64 @@
 
 PACKAGEMAKER := 
/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
 
-DISABLED := packages/kile.dmg
-DAILY := packages/strigi.dmg packages/kdelibs.dmg packages/kdepimlibs.dmg 
packages/kdebase.dmg packages/kdeedu.dmg packages/kdegames.dmg 
packages/kdemultimedia.dmg packages/kdenetwork.dmg packages/kdepim.dmg 
packages/koffice.dmg packages/kdevelop.dmg packages/kdewebdev.dmg 
packages/okular.dmg packages/amarok.dmg packages/kde.mpkg
-EVERYTHING := packages/qt.dmg packages/kdesupport.dmg $(DAILY)
+DISABLED := kile
+DAILY := amarok kdebase kdeedu kdegames kdelibs kdemultimedia kdenetwork 
kdepim kdepimlibs kdevelop kdewebdev koffice okular strigi
+MANUAL := qt qt-extras kdesupport
 
-.PHONY: all daily
-all: $(EVERYTHING)
-daily: $(DAILY)
+DAILY_TORRENT      := $(patsubst %,packages/%-$(DATESTAMP).torrent,$(DAILY))
+DAILY_DMG          := $(patsubst %,packages/%-$(DATESTAMP).dmg,$(DAILY))
+DAILY_PKG          := $(patsubst %,packages/%.pkg,$(DAILY))
+
+MANUAL_TORRENT     := $(patsubst %,packages/%-$(DATESTAMP).torrent,$(MANUAL))
+MANUAL_DMG         := $(patsubst %,packages/%-$(DATESTAMP).dmg,$(MANUAL))
+MANUAL_PKG         := $(patsubst %,packages/%.pkg,$(MANUAL))
+
+EVERYTHING_TORRENT := $(DAILY_TORRENT) $(MANUAL_TORRENT) 
packages/everything-$(DATESTAMP).dmg.torrent
+EVERYTHING_DMG     := $(DAILY_DMG) $(MANUAL_DMG) 
packages/everything-$(DATESTAMP).dmg
+EVERYTHING_PKG     := $(DAILY_PKG) $(MANUAL_PKG) packages/kde.mpkg
+
+EVERYTHING         := $(EVERYTHING_TORRENT) $(EVERYTHING_DMG) $(EVERYTHING_PKG)
+FAKE_TORRENT       := $(patsubst %,packages/%.torrent,$(DAILY) $(MANUAL))
+
+.PHONY: $(FAKE_TORRENT)
+
+.PHONY: all
+all:
+       @echo "usage: make <clean|dist>"
+       @echo ""
 
 .PHONY: clean
 clean:
-       @rm -rf packages/*.pkg packages/*.mpkg packages/*.dmg
+       @rm -rf packages/*.pkg packages/*.mpkg packages/*.dmg packages/*.torrent
 
 cleandist:
        @./make-packages.sh --clean $(DIST_ARGS)
-       $(MAKE) packages/everything.dmg
+       $(MAKE) $(EVERYTHING)
 
 distnoupdate:
        @./make-packages.sh --skip-update $(DIST_ARGS)
-       $(MAKE) packages/everything.dmg
+       $(MAKE) $(EVERYTHING)
 
 dist:
        @./make-packages.sh $(DIST_ARGS)
-       $(MAKE) packages/everything.dmg
+       $(MAKE) $(EVERYTHING)
 
-packages/everything-$(DATESTAMP).dmg: packages/qt.pkg packages/kdesupport.pkg 
packages/strigi.pkg packages/kdelibs.pkg packages/kdepimlibs.pkg 
packages/kdebase.pkg packages/kdeedu.pkg packages/kdegames.pkg 
packages/kdemultimedia.pkg packages/kdenetwork.pkg packages/kdepim.pkg 
packages/koffice.pkg packages/kdevelop.pkg packages/okular.pkg 
packages/amarok.pkg packages/kde.mpkg $(DAILY)
+packages/qt.torrent: packages/qt-$(DATESTAMP).dmg.torrent
+packages/qt.dmg: packages/qt-$(DATESTAMP).dmg
+packages/qt-extras.torrent: packages/qt-extras-$(DATESTAMP).dmg.torrent
+packages/qt-extras.dmg: packages/qt-extras-$(DATESTAMP).dmg
+packages/kdesupport.torrent: packages/kdesupport-$(DATESTAMP).dmg.torrent
+packages/kdesupport.dmg: packages/kdesupport-$(DATESTAMP).dmg
+
+packages/everything-$(DATESTAMP).dmg: $(EVERYTHING_PKG)
        @/bin/sh $(PWD)/pkg-to-dmg.sh "$@" packages/*.pkg packages/*.mpkg
-
-.PHONY: packages/everything.dmg packages/qt.dmg packages/kdesupport.dmg 
packages/strigi.pkg packages/kdelibs.dmg packages/kdepimlibs.dmg 
packages/kdebase.dmg packages/kdeedu.dmg packages/kdegames.dmg 
packages/kdemultimedia.dmg packages/kdenetwork.dmg packages/kdepim.dmg 
packages/kdewebdev.dmg packages/koffice.dmg packages/kdevelop.dmg 
packages/kile.dmg packages/okular.dmg packages/amarok.dmg
-packages/everything.dmg: packages/everything-$(DATESTAMP).dmg
-packages/qt.dmg: packages/qt-$(DATESTAMP).dmg
-packages/kdesupport.dmg: packages/kdesupport-$(DATESTAMP).dmg
-packages/strigi.dmg: packages/strigi-$(DATESTAMP).dmg
-packages/kdelibs.dmg: packages/kdelibs-$(DATESTAMP).dmg
-packages/kdepimlibs.dmg: packages/kdepimlibs-$(DATESTAMP).dmg
-packages/kdebase.dmg: packages/kdebase-$(DATESTAMP).dmg
-packages/kdeedu.dmg: packages/kdeedu-$(DATESTAMP).dmg
-packages/kdeedu.dmg: packages/kdeedu-$(DATESTAMP).dmg
-packages/kdegames.dmg: packages/kdegames-$(DATESTAMP).dmg
-packages/kdemultimedia.dmg: packages/kdemultimedia-$(DATESTAMP).dmg
-packages/kdenetwork.dmg: packages/kdenetwork-$(DATESTAMP).dmg
-packages/kdepim.dmg: packages/kdepim-$(DATESTAMP).dmg
-packages/kdewebdev.dmg: packages/kdewebdev-$(DATESTAMP).dmg
-packages/koffice.dmg: packages/koffice-$(DATESTAMP).dmg
-packages/kdevelop.dmg: packages/kdevelop-$(DATESTAMP).dmg
-packages/kile.dmg: packages/kile-$(DATESTAMP).dmg
-packages/okular.dmg: packages/okular-$(DATESTAMP).dmg
-packages/amarok.dmg: packages/amarok-$(DATESTAMP).dmg
 
 packages/%-$(DATESTAMP).dmg: packages/%.pkg
        @/bin/sh $(PWD)/pkg-to-dmg.sh "$@" "$<"
 
+packages/%-$(DATESTAMP).dmg.torrent: packages/%-$(DATESTAMP).dmg
+       @cd packages; /fink/bin/btmaketorrent.py 
http://ranger.users.finkproject.org:8080/announce `basename "$<"`; cd -
+
 packages/%.mpkg packages/%.pkg: %.pmproj
        @/bin/sh $(PWD)/pmproj-to-pkg.sh "$<" "$@"
+


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to