NAME = drakguard VERSION = 0.2 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