X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=Makefile;h=915f86426886628e43d42cbf09c9017e773d56e5;hb=10bbb53ef3cffbb458d7f593fdd55a9240bd359a;hp=efdb0e3a9e84b71867f3d5bac0f6d3dbc0e154e6;hpb=5dfabe44361a04c2bcbdc53bbe520bb9ebaaaf47;p=live-boot-grml.git diff --git a/Makefile b/Makefile index efdb0e3..915f864 100644 --- a/Makefile +++ b/Makefile @@ -19,30 +19,28 @@ test: @echo " done." - @echo -n "Checking for bashisms" - @# We can't just fail yet on bashisms (FIXME) - @if [ -x /usr/bin/checkbashisms ]; \ + @if [ -x "$$(which checkbashisms 2>/dev/null)" ]; \ then \ + echo -n "Checking for bashisms"; \ for SCRIPT in $(SCRIPTS); \ do \ checkbashisms -f -x $${SCRIPT} || true; \ echo -n "."; \ done; \ + echo " done."; \ else \ - echo "WARNING: skipping bashism test - you need to install devscripts."; \ + echo "W: checkbashisms - command not found"; \ + echo "I: checkbashisms can be optained from: "; \ + echo "I: http://git.debian.org/?p=devscripts/devscripts.git"; \ + echo "I: On Debian systems, checkbashisms can be installed with:"; \ + echo "I: apt-get install devscripts"; \ fi - @echo " done." - build: @echo "Nothing to build." install: - # (FIXME) - # Installing configuration - install -D -m 0644 conf/compcache $(DESTDIR)/usr/share/initramfs-tools/conf.d/compcache - # Installing executables mkdir -p $(DESTDIR)/sbin cp bin/live-new-uuid bin/live-snapshot bin/live-swapfile $(DESTDIR)/sbin