From 690aa834d991557ac82cca3c001d35062477c6aa Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 27 Mar 2008 01:02:21 +0000 Subject: add Makefile --- Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7b240f0 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +NAME = drakguard +VERSION = 0.1 + +DESTDIR= +sbindir=/usr/sbin +iconsdir=/usr/lib/libDrakX/icons + +SBIN_TOOLS=drakguard + +all: + (find lib -name '*.pm'; find bin -type f) | xargs perl -pi -e 's/\s*use\s+(diagnostics|vars|strict).*//g' + make -C po + +install: + install -d $(DESTDIR){$(sbindir),$(iconsdir)} + find $(DESTDIR) -name .perl_checker -exec rm {} \; + (cd bin; install -m755 $(SBIN_TOOLS) $(DESTDIR)$(sbindir) ) + install -m644 $(wildcard data/icons/*.png) $(DESTDIR)$(iconsdir) + make -C po install -- cgit v1.2.1