diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-03-27 01:02:21 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-03-27 01:02:21 +0000 |
commit | 690aa834d991557ac82cca3c001d35062477c6aa (patch) | |
tree | 5c3a9f2f87ff795fbb0f8b1e09e57bf8d7f25807 /Makefile | |
parent | 6181a11abcaffa123a62761c66a54d185caa078d (diff) | |
download | drakguard-690aa834d991557ac82cca3c001d35062477c6aa.tar drakguard-690aa834d991557ac82cca3c001d35062477c6aa.tar.gz drakguard-690aa834d991557ac82cca3c001d35062477c6aa.tar.bz2 drakguard-690aa834d991557ac82cca3c001d35062477c6aa.tar.xz drakguard-690aa834d991557ac82cca3c001d35062477c6aa.zip |
add Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
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 |