From 0c405e873db9a14b044393356190ba2f55de1289 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 3 May 2013 18:00:34 +0200 Subject: [PATCH] oops, need a debian target --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Makefile b/Makefile index 69c13369..de9b7db2 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,23 @@ install: --install-scripts=$(DESTDIR)/$(datadir)/myslice \ --install-data=$(DESTDIR)/$(datadir)/myslice +#################### +debian: static templates debian/changelog debian.source debian.package + +debian/changelog: debian/changelog.in + sed -e "s|@VERSION@|$(DEBVERSION)|" -e "s|@DATE@|$(DATE)|" debian/changelog.in > debian/changelog + +debian.source: force + rsync -a $(RPMTARBALL) $(DEBTARBALL) + +debian.package: + debuild -uc -us -b + +debian.clean: + $(MAKE) -f debian/rules clean + rm -rf build/ MANIFEST ../*.tar.gz ../*.dsc ../*.build + find . -name '*.pyc' -delete + #################### third-party layout is kind of special # because we have differents versions, and also we -- 2.43.0