doc: filters_python: Add rotation and symmetry filters.
[gfxprim/pasky.git] / install.mk
blob689acda2248670f4f9a05b77696fed2249fb7ca3
1 ifdef DESTDIR
2 BIN_DIR=$(DESTDIR)$(bindir)
3 else
4 BIN_DIR=$(bindir)
5 endif
7 ifdef DESTDIR
8 MAN_DIR=$(DESTDIR)$(mandir)/man1
9 else
10 MAN_DIR=$(mandir)/man1
11 endif
13 install:
14 ifdef INSTALL_BIN
15 ifdef VERBOSE
16 install -d "$(BIN_DIR)"
17 for i in $(INSTALL_BIN); do install "$$i" "$(BIN_DIR)"; done
18 else
19 @install -d "$(BIN_DIR)"
20 @echo "MKDIR $(BIN_DIR)"
21 @for i in $(INSTALL_BIN); do echo "CP $$i $(MAN_DIR)"; install "$$i" "$(BIN_DIR)"; done
22 endif
23 endif
25 ifdef INSTALL_MAN
26 ifdef VERBOSE
27 install -d "$(MAN_DIR)"
28 for i in $(INSTALL_MAN); do install "$$i" "$(MAN_DIR)"; done
29 else
30 @install -d "$(MAN_DIR)"
31 @echo "MKDIR $(MAN_DIR)"
32 @for i in $(INSTALL_MAN); do echo "CP $$i $(MAN_DIR)"; install "$$i" "$(MAN_DIR)"; done
33 endif
34 endif