1 # Packagers may want to override this!
4 PHP_SCRIPT_DIR ?= $(prefix)/share/php
5 BIN_DIR := $(prefix)/bin
7 TWEEPER_DIR := $(PHP_SCRIPT_DIR)/tweeper
13 install -d $(DESTDIR)$(TWEEPER_DIR)
14 install -m644 *.xsl $(DESTDIR)$(TWEEPER_DIR)
15 install -m644 *.php $(DESTDIR)$(TWEEPER_DIR)
16 install -m755 tweeper $(DESTDIR)$(TWEEPER_DIR)
17 install -d $(DESTDIR)$(BIN_DIR)
18 ln -sf $(TWEEPER_DIR)/tweeper $(DESTDIR)$(BIN_DIR)/tweeper
19 @echo -e "\n\nINTALLATION COMPLETE"
20 @echo -e "Make sure '$(PHP_SCRIPT_DIR)' is in PHP include_path!\n"