From b902a68d277a7a2ea716dfbcef183620627c8e77 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Wed, 11 Aug 2010 10:01:44 +0200 Subject: [PATCH] readded makefile --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ec42490 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +MAKEFILE_COMMON = $(HOME)/.fedora/common.mk +-include $(MAKEFILE_COMMON) + +# can not use final tarball name here as it will conflict with rules +# within Makefile.common +TARBALL_CLEAN = ${NAME}-${VERSION}-norar.tar.xz.tmp +TARBALL = ${NAME}-${VERSION}.tar.gz + +clean-sources: ${TARBALL_CLEAN} + +${TARBALL_CLEAN}: ${TARBALL} + rm -f $@.tmp + zcat $< | tar --delete -f - '*/libclamunrar/*' | xz -c > $@.tmp + mv $@.tmp $@