ShadowArch/Makefile

29 lines
831 B
Makefile
Raw Normal View History

LIST=AdminScripts UserScripts EtcFiles
compile: ${LIST}
for i in ${LIST}; do make -C ./$$i; done
install: compile
mkdir -p ${pkgdir}/usr/share/pacman/keyrings
for i in ${LIST}; do make -C ./$$i install; done
reverse:
@echo Please do this for each individual folder in ${LIST}
test: ${LIST}
@echo Please do this for each individual folder in ${LIST}
checkperm:
@echo Please do this for each individual folder in ${LIST}
clean:
rm -Rf `cat .gitignore`
diff:
@echo Please do this for each individual folder in ${LIST}
localinstall:
mkdir -p ~/bin/
for i in AdminScripts UserScripts; do cd $$i; for j in `ls -1 | grep -v Makefile`; do install -o ${USER} -m 0755 "$$j" /home/${USER}/bin/; done; cd ..; done
cd EtcFiles; for i in `ls -1 | egrep -v '*.service|skel|Makefile'`; do cp "$$i" /home/${USER}/."$$i"; done