mirror of
https://github.com/0intro/wmii
synced 2024-11-25 23:30:24 +03:00
21 lines
430 B
Makefile
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
|