From 9ce762a50229bebd07600f1c29167db31f8bfb53 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 26 Jan 2009 17:07:40 +0100 Subject: Using common function file to source shell includes. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2de14ff0f..ac0892b04 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ all: build test: # Checking for syntax errors - set -e; for SCRIPT in functions/* examples/*/*.sh helpers/* hooks/*; \ + set -e; for SCRIPT in functions.sh functions/* examples/*/*.sh helpers/* hooks/*; \ do \ sh -n $$SCRIPT; \ done @@ -14,7 +14,7 @@ test: # Checking for bashisms set -e; if [ -x /usr/bin/checkbashisms ]; \ then \ - checkbashisms functions/* examples/*/*.sh helpers/* hooks/*; \ + checkbashisms functions.sh functions/* examples/*/*.sh helpers/* hooks/*; \ else \ echo "bashism test skipped - you need to install devscripts."; \ fi @@ -29,7 +29,7 @@ install: # Installing shared data mkdir -p $(DESTDIR)/usr/share/live-helper - cp -r data examples functions hooks includes lists templates $(DESTDIR)/usr/share/live-helper + cp -r data examples functions.sh functions hooks includes lists templates $(DESTDIR)/usr/share/live-helper # Installing documentation mkdir -p $(DESTDIR)/usr/share/doc/live-helper @@ -98,7 +98,7 @@ uninstall: done update: - set -e; for FILE in functions/*.sh examples/cron/*.sh manpages/*.en.*; \ + set -e; for FILE in functions.sh functions/*.sh examples/cron/*.sh manpages/*.en.*; \ do \ sed -i -e 's/2007\\-11\\-26/2007\\-12\\-03/' \ -e 's/26.11.2007/03.12.2007/' \ -- cgit v1.2.3