Reorganized the codebase, add support for flag modus operandi
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja> git-svn-id: file:///srv/svn/repo/mai/trunk@48 e410bdd4-646f-c54f-a7ce-fffcc4f439ae
This commit is contained in:
12
Makefile
Normal file
12
Makefile
Normal file
@@ -0,0 +1,12 @@
|
||||
PREFIX ?= /usr/local
|
||||
|
||||
build:
|
||||
go build -x -v ./cmd/simplytranslate
|
||||
install:
|
||||
install -Dm0755 simplytranslate ${DESTDIR}${PREFIX}/bin/simplytranslate
|
||||
mkdir -p ${DESTDIR}${PREFIX}/share/simplytranslate
|
||||
cp -R static views ${DESTDIR}${PREFIX}/share/simplytranslate
|
||||
@echo "Remember to launch the program with -s ${DESTDIR}${PREFIX}/share/simplytranslate/static -t ${DESTDIR}${PREFIX}/share/simplytranslate/views"
|
||||
uninstall:
|
||||
rm -f ${DESTDIR}${PREFIX}/bin/simplytranslate
|
||||
rm -rf ${DESTDIR}${PREFIX}/share/simplytranslate
|
||||
Reference in New Issue
Block a user