# make-mode emacs thingamajig -*- makefile -*- #manually configured directories config_dirs := config binary_local-hooks chroot_local-hooks \ chroot_local-includes chroot_local-packageslists \ binary_syslinux emacs_files := $(wildcard *~ config/*~ config/*/*~ config/*/*/*~) #This is just a helper file, since emacs "foo~" files can sometimes break a #build (files ending in ~ are considered valid shell scripts). #If you want to build the disk image, use "lh_build" as documented at # http://devel.cryptobox.org/wiki/DebianLiveBuild #Using a makefile for this is a bit of a drawback, since live-helper #doesn't really require `make'. # this makefile could eventually call the live-helper build system clean-config : -rm -f $(emacs_files) # -rm -f $(addsuffix /*~, $(config_dirs)) clean-all : lh_clean --purge .PHONY : clean-all clean-config