Patchwork [2,of,4] makefile: rename debian-jessie to deb

mail settings
Submitter Augie Fackler
Date Aug. 27, 2015, 9:22 p.m.
Message ID <2bb2f194ec77b8cf4f5b.1440710521@imladris.local>
Download mbox | patch
Permalink /patch/10301/
State Accepted
Headers show


Augie Fackler - Aug. 27, 2015, 9:22 p.m.
# HG changeset patch
# User Augie Fackler <>
# Date 1440699879 14400
#      Thu Aug 27 14:24:39 2015 -0400
# Node ID 2bb2f194ec77b8cf4f5b050741216b70e7cf09a7
# Parent  a95e83c37395eaf43d9584f50228c94fec3d084d
makefile: rename debian-jessie to deb

`make debian-jessie` was a poor name choice on my part, because it
really builds a package for the current debian platform, whatever that
happens to be, rather than a specific platform. Rename it to just
`make deb` so that it's a little clearer. As a result, it now places
built debs in a "debian-unknown" directory.


diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -157,10 +157,10 @@  osx:
 	N=`cd dist && echo mercurial-*.mpkg | sed 's,\.mpkg$$,,'` && hdiutil create -srcfolder dist/$$N.mpkg/ -scrub -volname "$$N" -ov packages/osx/$$N.dmg
 	rm -rf dist/mercurial-*.mpkg
-	mkdir -p packages/debian-jessie
+	mkdir -p packages/debian-unknown
-	mv debbuild/*.deb packages/debian-jessie
+	mv debbuild/*.deb packages/debian-unknown
 	rm -rf debbuild