Renaming package to ShadowArch to follow /wiki/Design_Principles; improved packing; development sync to current state -- massive overhaul
This commit is contained in:
25
UserScripts/Makefile
Normal file
25
UserScripts/Makefile
Normal file
@@ -0,0 +1,25 @@
|
||||
LIST=bell bigorlittle compare-directories compress-all diff-args expand-all failcount logged-shell standardize-folder sysinfo whatismyip worktrack
|
||||
LOCATION=${pkgdir}/usr/local/bin
|
||||
PERMISSION=0755
|
||||
compile:
|
||||
@echo Nothing to compile.
|
||||
|
||||
install: compile
|
||||
mkdir -p ${LOCATION}
|
||||
for i in ${LIST}; do cp ./$$i ${LOCATION}; done
|
||||
make checkperm
|
||||
|
||||
reverse:
|
||||
for i in ${LIST}; do cp ${LOCATION}/$$i .; done
|
||||
|
||||
test: ${LIST}
|
||||
for i in ${LIST}; do [ "$$(grep -c '#/bin/bash' $$i)" -ne 1 ]; done
|
||||
|
||||
checkperm:
|
||||
for i in ${LIST}; do chown root:root ${LOCATION}/$$i; chmod ${PERMISSION} ${LOCATION}/$$i; done
|
||||
|
||||
clean:
|
||||
@echo Nothing to do.
|
||||
|
||||
diff:
|
||||
for i in ${LIST}; do diff ./$$i ${LOCATION}/$$i; done
|
Reference in New Issue
Block a user