From e587c37d8949adc5ee765889681b82d8de52b457 Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Tue, 15 Dec 2015 14:18:09 -0200 Subject: [PATCH] Makefile: rename the Debian targets IMHO short names for Makefile targets are desirable, so let's shorten the names of the Debian related targets. Also, they better match the RPM target names like that. Signed-off-by: Cleber Rosa --- Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index d75819bb..63c7797b 100644 --- a/Makefile +++ b/Makefile @@ -28,9 +28,9 @@ all: @echo "Distribution/installtion related targets:" @echo "source: Create source package" @echo "install: Install on local system" - @echo "build-deb-src: Generate a source debian package" - @echo "build-deb-bin: Generate a binary debian package" - @echo "build-deb-all: Generate both source and binary debian packages" + @echo "deb: Generate both source and binary debian packages" + @echo "deb-src: Generate a source debian package" + @echo "deb-bin: Generate a binary debian package" @echo "srpm: Generate a source RPM package (.srpm)" @echo "rpm: Generate binary RPMs" @echo "man: Generate the avocado man page" @@ -51,22 +51,22 @@ source-release: clean install: $(PYTHON) setup.py install --root $(DESTDIR) $(COMPILE) -prepare-source: +deb-prepare-source: # build the source package in the parent directory # then rename it to project_version.orig.tar.gz dch -D "vivid" -M -v "$(VERSION)" "Automated (make builddeb) build." $(PYTHON) setup.py sdist $(COMPILE) --dist-dir=../ rename -f 's/$(PROJECT)-(.*)\.tar\.gz/$(PROJECT)_$$1\.orig\.tar\.gz/' ../* -build-deb-src: prepare-source +deb-src: deb-prepare-source # build the source package dpkg-buildpackage -S -elookkas@gmail.com -rfakeroot -build-deb-bin: prepare-source +deb-bin: deb-prepare-source # build binary package dpkg-buildpackage -b -rfakeroot -build-deb-all: prepare-source +deb: deb-prepare-source # build both source and binary packages dpkg-buildpackage -i -I -rfakeroot -- GitLab