wmii/mk/common.mk

21 lines
430 B
Makefile
Raw Normal View History

all:
install: all
MANDIRS=$(MAN)/man1
mkdirs:
2008-12-11 02:23:26 +03:00
for i in $(BIN) $(ETC) $(LIBDIR) $(MANDIRS) $(INCLUDE); do \
2008-12-11 02:05:31 +03:00
test -d $(DESTDIR)$$i || echo MKDIR $$i; \
mkdir -pm 0755 $(DESTDIR)$$i; \
done
cleandep:
echo CLEANDEP
rm .depend 2>/dev/null || true
DEP:=${shell if test -f .depend;then echo .depend;else echo /dev/null; fi}
DEP!=echo /dev/null
include $(DEP)
.PHONY: all options clean dist install uninstall depend cleandep