28 lines
787 B
Makefile
28 lines
787 B
Makefile
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}
|
|
|
|
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
|