From 3bca295893f77657b3be26ef77dc663a912eed4c Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Sun, 22 Dec 2019 18:47:36 +0100 Subject: added makefile --- makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 makefile (limited to 'makefile') diff --git a/makefile b/makefile new file mode 100644 index 0000000..a0c1b6c --- /dev/null +++ b/makefile @@ -0,0 +1,20 @@ +exts := md html confd initd install sh +findopts := $(foreach ext,$(exts),-or -iname "*.$(ext)") + +all: clean pkg + +pkg: clean + makepkg + +clean: + rm -rf .backup + find -iname "*~" | xargs rm -rf + find ./* -type d | xargs rm -rf + find ./* -type f -iname "makefile" -or -iname "PKGBUILD" $(findopts) > ls-R + rsync -avPr --files-from=ls-R . .backup + rm -rf * + cp -p -r .backup/* . + rm -rf .backup + pandoc -s README.md -o about.html + +.PHONY: clean -- cgit v1.2.3