2007-03-26 08:48:00 +04:00
|
|
|
all:
|
|
|
|
|
|
|
|
install: all
|
|
|
|
|
2008-01-18 01:50:35 +03:00
|
|
|
MANDIRS=$(MAN)/man1
|
2007-03-26 08:48:00 +04:00
|
|
|
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; \
|
2007-03-26 08:48:00 +04:00
|
|
|
done
|
|
|
|
|
|
|
|
cleandep:
|
2007-04-23 10:29:02 +04:00
|
|
|
echo CLEANDEP
|
2007-03-26 08:48:00 +04:00
|
|
|
rm .depend 2>/dev/null || true
|
|
|
|
|
2007-04-23 10:29:02 +04:00
|
|
|
DEP:=${shell if test -f .depend;then echo .depend;else echo /dev/null; fi}
|
|
|
|
DEP!=echo /dev/null
|
2008-01-18 01:50:35 +03:00
|
|
|
include $(DEP)
|
2007-04-23 10:29:02 +04:00
|
|
|
|
2007-03-26 08:48:00 +04:00
|
|
|
.PHONY: all options clean dist install uninstall depend cleandep
|