package = drakpxelinux version = 1.9 prefix = /usr/local/ distdir = list = default \ deployd.sh \ deployd.xinetd \ deploy_get_autoinst.pl \ deploy_get_autoinst.xinetd \ drakpxelinux.pl subdir = po files = $(subdir) $(list) ChangeLog COPYING Makefile TODO clean: rm -f *~ \#*\# rm -f $(package)-*.tar.xz rm -fr $(package)-$(version) for d in $(subdir); do (cd $$d ; make $@ ); done dist: @git archive --prefix=$(package)-$(version)/ HEAD | xz > $(package)-$(version).tar.xz install: install -d $(distdir)/usr/{sbin/,share/drakpxelinux/} install -d $(distdir)/etc/xinetd.d install -m755 drakpxelinux.pl $(distdir)/usr/sbin/drakpxelinux install -m755 deployd.sh $(distdir)/usr/sbin/deployd 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 $(subdir); do ( cd $$d ; make $@ ) ; done