diff options
-rw-r--r-- | Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -1,20 +1,21 @@ APP_NAME=weblog PACKAGE=acf-$(APP_NAME) -VERSION=0.4.3 +VERSION=0.4.4 -APP_DIST=\ - weblog* \ +CRON_FILE=weblogimport +APP_DIST=$(filter-out $(CRON_FILE), $(wildcard weblog*)) -EXTRA_DIST=README Makefile config.mk +EXTRA_DIST=README Makefile config.mk $(CRON_FILE) -DISTFILES=$(APP_DIST) $(EXTRA_DIST) +DISTFILES=$(APP_DIST) $(EXTRA_DIST) TAR=tar P=$(PACKAGE)-$(VERSION) tarball=$(P).tar.bz2 install_dir=$(DESTDIR)/$(appdir)/$(APP_NAME) +cron_dir=$(DESTDIR)/etc/periodic/daily all: clean: @@ -23,8 +24,9 @@ clean: dist: $(tarball) install: - mkdir -p "$(install_dir)" + mkdir -p "$(install_dir)" "$(cron_dir)" cp -a $(APP_DIST) "$(install_dir)" + cp -a $(CRON_FILE) "$(cron_dir)" $(tarball): $(DISTFILES) rm -rf $(P) |