blob: f92b47a000f2e3fd049b3ec2996c529901c62d1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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: all pkg clean
|