wmii/mk/common.mk
2008-12-10 18:23:26 -05:00

21 lines
430 B
Makefile

all:
install: all
MANDIRS=$(MAN)/man1
mkdirs:
for i in $(BIN) $(ETC) $(LIBDIR) $(MANDIRS) $(INCLUDE); do \
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