summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2011-09-08 13:38:52 +0000
committerTed Trask <ttrask01@yahoo.com>2011-09-08 13:38:52 +0000
commiteb19de2a55060f674c7fdfd36fc0ff68eed43a98 (patch)
treeba8f3ad433defd862b2723e93c429b5ce4a5d72d
parentee84249439da1ba320c99a6b5e0411edc6261bed (diff)
downloadacf-weblog-eb19de2a55060f674c7fdfd36fc0ff68eed43a98.tar.bz2
acf-weblog-eb19de2a55060f674c7fdfd36fc0ff68eed43a98.tar.xz
Add image files to the Makefile
-rw-r--r--Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index d6942ca..d025153 100644
--- a/Makefile
+++ b/Makefile
@@ -4,11 +4,17 @@ VERSION=0.6.0
CRON_FILE=weblogimport
-APP_DIST=$(filter-out $(CRON_FILE), $(wildcard weblog*))
+IMAGE_DIST=bypass.png \
+ denied.png \
+ dodgy.png \
-EXTRA_DIST=README Makefile config.mk $(CRON_FILE)
+APP_DIST=weblog-* \
+ weblog.roles \
+ weblog.menu \
-DISTFILES=$(APP_DIST) $(EXTRA_DIST)
+EXTRA_DIST=README Makefile config.mk
+
+DISTFILES=$(CRON_FILE) $(IMAGE_DIST) $(APP_DIST) $(EXTRA_DIST)
TAR=tar
@@ -16,6 +22,7 @@ P=$(PACKAGE)-$(VERSION)
tarball=$(P).tar.bz2
install_dir=$(DESTDIR)/$(appdir)/$(APP_NAME)
cron_dir=$(DESTDIR)/etc/periodic/daily
+static_dir=$(DESTDIR)/${wwwdir}/skins/static
all:
clean:
@@ -24,9 +31,10 @@ clean:
dist: $(tarball)
install:
- mkdir -p "$(install_dir)" "$(cron_dir)"
+ mkdir -p "$(install_dir)" "$(cron_dir)" "$(static_dir)"
cp -a $(APP_DIST) "$(install_dir)"
cp -a $(CRON_FILE) "$(cron_dir)"
+ cp -a $(IMAGE_DIST) "$(static_dir)"
$(tarball): $(DISTFILES)
rm -rf $(P)