ShadowArch/Makefile

31 lines
835 B
Makefile
Raw Normal View History

LIST=AdminScripts UserScripts EtcFiles
compile: ${LIST}
for i in ${LIST}; do make -C ./$$i; done
install: compile
for i in ${LIST}; do make -C ./$$i install; done
clean:
rm -Rf `cat .gitignore`
uninstall:
@echo Please do this for each folder.
test: ${LIST}
@echo Please do this for each individual folder in ${LIST}
checkperm:
@echo Please do this for each individual folder in ${LIST}
diff:
@echo Please do this for each individual folder in ${LIST}
reverse:
@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 | grep -E -v '*.service|skel|Makefile'`; do cp "$$i" /home/${USER}/."$$i"; done