summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a7ff4de..0e93bad 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ APP_DIST=squid-controller.lua \
squid-dep-html.lsp \
squid.menu
-EXTRA_DIST=README Makefile config.mk
+EXTRA_DIST=README Makefile config.mk squid.conf.template
DISTFILES=$(APP_DIST) $(EXTRA_DIST)
@@ -21,6 +21,7 @@ TAR=tar
P=$(PACKAGE)-$(VERSION)
tarball=$(P).tar.bz2
install_dir=$(DESTDIR)/$(appdir)/$(APP_NAME)
+install_dir_squid=$(DESTDIR)/$(squid-cfg-dir)
all:
clean:
@@ -29,9 +30,9 @@ clean:
dist: $(tarball)
install:
- mkdir -p "$(install_dir)"
+ mkdir -p "$(install_dir)" "$(install_dir_squid)"
cp -a $(APP_DIST) "$(install_dir)"
- cp -a squid.conf.template "$(squid-cfg-dir)"
+ cp -a squid.conf.template "$(install_dir_squid)"
$(tarball): $(DISTFILES)
rm -rf $(P)