Wiki/Makefile

28 lines
598 B
Makefile
Raw Permalink Normal View History

2023-10-23 13:09:05 -05:00
compile:
@echo Nothing to compile.
install: compile
mkdir -p ${pkgdir}/opt/aninix/Wiki
for i in `git ls-files | sort | grep -vE '^.gitignore$$|^PKGBUILD$$|^LICENSE$$|^Makefile$$'`; do mkdir -p ${pkgdir}/opt/aninix/Wiki/"$$(dirname "$$i")"; cp -pr "$$i" ${pkgdir}/opt/aninix/Wiki/"$$i"; done
make checkperm
clean:
git clean -fdX
uninstall:
rm -Rf ${pkgdir}/opt/aninix/Wiki
test:
true # Nothing to test
checkperm:
chown -R root: ${pkgdir}/opt/aninix/Wiki
chmod -R 0640 ${pkgdir}/opt/aninix/Wiki
find ${pkgdir}/opt/aninix/Wiki -type d -exec chmod a+x {} \;
diff:
true
reverse:
true