summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-28 16:31:09 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-28 16:31:09 +0100
commite98ba9f9c42a55d86b742f8a6c3fd576fc2bf939 (patch)
treed6d75d59c327f85ce7e2c000789b9e54039e456f /Makefile
parent98b821fe6b012fbfe0fe1f5a921fe5cbaa83fa98 (diff)
downloaddrakpxelinux-e98ba9f9c42a55d86b742f8a6c3fd576fc2bf939.tar
drakpxelinux-e98ba9f9c42a55d86b742f8a6c3fd576fc2bf939.tar.gz
drakpxelinux-e98ba9f9c42a55d86b742f8a6c3fd576fc2bf939.tar.bz2
drakpxelinux-e98ba9f9c42a55d86b742f8a6c3fd576fc2bf939.tar.xz
drakpxelinux-e98ba9f9c42a55d86b742f8a6c3fd576fc2bf939.zip
use git for generating archive
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index b9ba542..9da00bc 100644
--- a/Makefile
+++ b/Makefile
@@ -21,17 +21,8 @@ clean:
rm -fr $(package)-$(version)
for d in $(subdir); do (cd $$d ; make $@ ); done
-dir:
- mkdir $(package)-$(version)
-
-localcopy:
- tar c --exclude=.svn $(files) | tar x -C $(package)-$(version)
-
-tar:
- tar cvYf $(package)-$(version).tar.xz $(package)-$(version)
- rm -fr $(package)-$(version)
-
-dist: clean dir localcopy tar
+dist:
+ @git archive --prefix=$(package)-$(version)/ HEAD | xz > $(NAME)-$(VERSION).tar.xz
install:
install -d $(distdir)/usr/{sbin/,share/drakpxelinux/}
@@ -41,4 +32,4 @@ install:
install -m755 deploy_get_autoinst.pl $(distdir)/usr/sbin/deploy_get_autoinst.pl
install -m644 deployd.xinetd $(distdir)/etc/xinetd.d/deployd
install -m644 deploy_get_autoinst.xinetd $(distdir)/etc/xinetd.d/deploy_get_autoinst
- for d in $(subdirs); do ( cd $$d ; make $@ ) ; done \ No newline at end of file
+ for d in $(subdirs); do ( cd $$d ; make $@ ) ; done