Updating standards
This commit is contained in:
9
Makefile
9
Makefile
@@ -1,11 +1,11 @@
|
||||
pkgdirname != basename `git config remote.origin.url` | sed 's/.git$$//'
|
||||
|
||||
compile: c cs java bash php perl python
|
||||
compile: c java bash php perl python cs
|
||||
@echo Done
|
||||
|
||||
install: clean
|
||||
install: clean compile test
|
||||
mkdir -p ${pkgdir}/opt/aninix/${pkgdirname}/
|
||||
rsync -avzp HelloWorld* ${pkgdir}/opt/aninix/${pkgdirname}/
|
||||
install -m root -o 0644 ./HelloWorld* ${pkgdir}/opt/aninix/${pkgdirname}/
|
||||
|
||||
test: compile
|
||||
python3 -m pytest
|
||||
@@ -13,6 +13,9 @@ test: compile
|
||||
clean:
|
||||
for i in `cat .gitignore`; do /bin/bash -c "rm -Rf $$i"; done
|
||||
|
||||
uninstall:
|
||||
rm -Rf ${pkgdir}/opt/aninix/${pkgdirname}/
|
||||
|
||||
diff:
|
||||
@echo Nothing to do.
|
||||
|
||||
|
Reference in New Issue
Block a user