summaryrefslogtreecommitdiffstats
path: root/customdhcpcd/src/mk/dist.mk
diff options
context:
space:
mode:
authorNiklas2011-09-01 09:31:39 +0200
committerNiklas2011-09-01 09:31:39 +0200
commit4e1b9faba7503f99ee2fbcd7458f66ade42fa309 (patch)
tree4f9668c17d4dbf103ba71302624a387b080301a3 /customdhcpcd/src/mk/dist.mk
parentsome minor changes (diff)
downloadfbgui-4e1b9faba7503f99ee2fbcd7458f66ade42fa309.tar.gz
fbgui-4e1b9faba7503f99ee2fbcd7458f66ade42fa309.tar.xz
fbgui-4e1b9faba7503f99ee2fbcd7458f66ade42fa309.zip
tried to clean the git. deleted old unused files and folders. moved customdhcpcd and LogReceiver to the fbgui folder
Diffstat (limited to 'customdhcpcd/src/mk/dist.mk')
-rw-r--r--customdhcpcd/src/mk/dist.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/customdhcpcd/src/mk/dist.mk b/customdhcpcd/src/mk/dist.mk
new file mode 100644
index 0000000..1d3669d
--- /dev/null
+++ b/customdhcpcd/src/mk/dist.mk
@@ -0,0 +1,11 @@
+# rules to make a distribution tarball from a git repo
+# Copyright 2008 Roy Marples <roy@marples.name>
+
+GITREF?= HEAD
+DISTPREFIX?= ${PROG}-${VERSION}
+DISTFILE?= ${DISTPREFIX}.tar.bz2
+
+CLEANFILES+= ${DISTFILE}
+
+dist:
+ git archive --prefix=${DISTPREFIX}/ ${GITREF} | bzip2 > ${DISTFILE}