X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Makefile;h=61b139f1403ab04db2345b4e1a72ddd398b869f7;hb=7654ff058ca281756dd98ee976685a9261df63f0;hp=96d0996165d160e3e9179153e47adc2a186aa501;hpb=dc6dc128ff975d2f4162a2c051c11b93e3849d09;p=ghc-hetmet.git diff --git a/Makefile b/Makefile index 96d0996..61b139f 100644 --- a/Makefile +++ b/Makefile @@ -513,7 +513,7 @@ SRC_DIST_FILES += \ # - remove a bunch of other files that we know shouldn't be in the dist # - tar up first the extralibs package, then the main source package -EXTRA_LIBS=$(patsubst %, $(SRC_DIST_NAME)/libraries/%, $(shell cat libraries/extra-packages)) +EXTRA_LIBS=$(patsubst %, $(SRC_DIST_NAME)/%, $(shell grep -E "extralibs|dph" packages | grep -v "^\#" | sed "s/ .*//")) SRC_DIST_TARBALL = ghc-$(ProjectVersion)-src.tar.bz2 SRC_DIST_EXTRALIBS_TARBALL = ghc-$(ProjectVersion)-src-extralibs.tar.bz2