X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=Makefile;h=2557d77b8ee72e406e946adadc02eec4f7f17ab9;hb=26e44b370c90714df93334c43b8fdb69b8dc81bd;hp=9d2651e962a335d960104cdee919d1276b9a790f;hpb=d0c93c365e33f6970a0417dff7009a4a4fe2a3b1;p=grml-terminalserver.git diff --git a/Makefile b/Makefile index 9d2651e..2557d77 100644 --- a/Makefile +++ b/Makefile @@ -12,15 +12,12 @@ usrbin = $(usr)/bin usrsbin = $(usr)/sbin usrshare = $(usr)/share/$(name) -bin: timeout udhcpc +bin: timeout timeout: timeout.c diet gcc $(CFLAGS) $^ -o $@ strip --strip-unneeded $@ -udhcpc: udhcp - cd udhcp ; LDFLAGS='-static' make - install: bin $(install_) -d -m 755 $(etc) $(install_) -m 644 config $(etc) @@ -30,15 +27,12 @@ install: bin $(install_) -m 644 default_config $(usrshare) $(install_) -m 644 shared_prog_vars $(usrshare) $(install_) -m 755 nfs-kernel-server $(usrshare) + $(install_) -m 644 terminalserver_netboot_package.conf $(usrshare) $(install_) -m 755 linuxrc $(usrshare) $(install_) -m 755 udhcp-config.sh $(usrshare) - $(install_) -m 755 udhcpc $(usrshare) - $(install_) -m 755 modcalc $(usrshare) $(install_) -m 755 rdir $(usrshare) $(install_) -m 755 cdir $(usrshare) $(install_) -m 755 timeout $(usrshare) - $(install_) -m 755 udhcp/udhcpc $(usrshare) - $(install_) -m 755 discover-nic $(usrshare) cp -r templates $(usrshare) $(install_) -m 755 -d $(usrsbin) @@ -46,4 +40,4 @@ install: bin $(install_) -m 755 grml-terminalserver-config $(usrsbin) clean: - rm -f timeout ; cd udhcp && make clean && cd .. + rm -f timeout