From eb19de2a55060f674c7fdfd36fc0ff68eed43a98 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 8 Sep 2011 13:38:52 +0000 Subject: Add image files to the Makefile --- Makefile | 16 ++++++++++++---- 1 file 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) -- cgit v1.2.3