source: code/trunk/Makefile@ 48

Last change on this file since 48 was 48, checked in by yakumo.izuru, 20 months ago

Reorganized the codebase, add support for flag modus operandi

Signed-off-by: Izuru Yakumo <yakumo.izuru@…>

File size: 519 bytes
Line 
1PREFIX ?= /usr/local
2
3build:
4 go build -x -v ./cmd/simplytranslate
5install:
6 install -Dm0755 simplytranslate ${DESTDIR}${PREFIX}/bin/simplytranslate
7 mkdir -p ${DESTDIR}${PREFIX}/share/simplytranslate
8 cp -R static views ${DESTDIR}${PREFIX}/share/simplytranslate
9 @echo "Remember to launch the program with -s ${DESTDIR}${PREFIX}/share/simplytranslate/static -t ${DESTDIR}${PREFIX}/share/simplytranslate/views"
10uninstall:
11 rm -f ${DESTDIR}${PREFIX}/bin/simplytranslate
12 rm -rf ${DESTDIR}${PREFIX}/share/simplytranslate
Note: See TracBrowser for help on using the repository browser.