ShadowArch/UserScripts/Makefile

26 lines
717 B
Makefile

LIST=bell bigorlittle compare-directories compress-all diff-args expand-all failcount home-git logged-shell src-maintenance sslinfo 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