ShadowArch/Makefile

33 lines
980 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
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}
2021-11-12 13:42:07 -06:00
localinstall: compile
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
2021-11-12 13:42:07 -06:00
pacmankey:
sudo pacman-key --add EtcFiles/aninix.gpg
sudo pacman-key --finger 904DE6275579CB589D85720C1CC1E3F4ED06F296
sudo pacman-key --lsign 904DE6275579CB589D85720C1CC1E3F4ED06F296