3 BUILD_PATH=+BUILD_PATH+
7 chmod a+x $(BUILD_PATH)/clfswm
9 @echo "Type 'make install' to install clfswm in '$(DESTDIR)/bin/clfswm'"
13 mkdir -p $(DESTDIR)/bin
14 rm -rf $(DESTDIR)/lib/clfswm/
15 mkdir -p $(DESTDIR)/lib/clfswm/src
16 mkdir -p $(DESTDIR)/share/doc/clfswm
17 cp $(BUILD_PATH)/clfswm $(DESTDIR)/bin
18 cp $(BUILD_PATH)/clfswm.asd $(DESTDIR)/lib/clfswm/
19 cp -R $(BUILD_PATH)/src/*.lisp $(DESTDIR)/lib/clfswm/src
20 cp -R $(BUILD_PATH)/contrib $(DESTDIR)/lib/clfswm/
21 cp -R $(BUILD_PATH)/doc/* $(DESTDIR)/share/doc/clfswm/
22 cp -R $(BUILD_PATH)/AUTHORS $(DESTDIR)/share/doc/clfswm/
23 cp -R $(BUILD_PATH)/COPYING $(DESTDIR)/share/doc/clfswm/
24 cp -R $(BUILD_PATH)/README $(DESTDIR)/share/doc/clfswm/
25 cp -R $(BUILD_PATH)/TODO $(DESTDIR)/share/doc/clfswm/
26 cp -R $(BUILD_PATH)/ChangeLog $(DESTDIR)/share/doc/clfswm/
28 @echo "clfswm has been installed in '$(DESTDIR)/bin/clfswm'"
33 rm -rf $(DESTDIR)/bin/clfswm
34 rm -rf $(DESTDIR)/lib/clfswm
35 rm -rf $(DESTDIR)/share/doc/clfswm
38 find . \( -name "*~" -o -name "*.fas" -o -name "*.fasl" -o -name "*.lib" -o -name "*.lx32fsl" -o -name "*.x86f" \) -print0 | xargs -0 rm -f
41 cd .. && tar czvf clfswm-`date +%y%m%d`.tar.gz clfswm