Fix translate within Makefile
This commit is contained in:
parent
192fc6a0e6
commit
78c91f8e14
8
Makefile
8
Makefile
|
@ -4,9 +4,9 @@ RELEASE=1
|
||||||
PREFIX?=/usr/local
|
PREFIX?=/usr/local
|
||||||
|
|
||||||
all:
|
all:
|
||||||
bash -c "translate make"
|
bash -c "./translate make"
|
||||||
debug:
|
debug:
|
||||||
bash -c "translate make"
|
bash -c "./translate make"
|
||||||
source:
|
source:
|
||||||
tar -cvf ../${APP}_${VERSION}.orig.tar ../${APP}-${VERSION} --exclude-vcs
|
tar -cvf ../${APP}_${VERSION}.orig.tar ../${APP}-${VERSION} --exclude-vcs
|
||||||
gzip -f9n ../${APP}_${VERSION}.orig.tar
|
gzip -f9n ../${APP}_${VERSION}.orig.tar
|
||||||
|
@ -19,7 +19,7 @@ install:
|
||||||
install -m 755 src/${APP}-controlpanel ${DESTDIR}${PREFIX}/bin/control
|
install -m 755 src/${APP}-controlpanel ${DESTDIR}${PREFIX}/bin/control
|
||||||
mkdir -m 755 -p ${DESTDIR}${PREFIX}/share/man/man1
|
mkdir -m 755 -p ${DESTDIR}${PREFIX}/share/man/man1
|
||||||
install -m 644 man/*.1.gz ${DESTDIR}${PREFIX}/share/man/man1
|
install -m 644 man/*.1.gz ${DESTDIR}${PREFIX}/share/man/man1
|
||||||
bash -c "translate install"
|
bash -c "./translate install"
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f ${PREFIX}/share/man/man1/${APP}*.1.gz
|
rm -f ${PREFIX}/share/man/man1/${APP}*.1.gz
|
||||||
rm -rf ${PREFIX}/share/${APP}
|
rm -rf ${PREFIX}/share/${APP}
|
||||||
|
@ -28,7 +28,7 @@ uninstall:
|
||||||
rm -f ${PREFIX}/bin/mesh
|
rm -f ${PREFIX}/bin/mesh
|
||||||
rm -f ${PREFIX}/bin/meshweb
|
rm -f ${PREFIX}/bin/meshweb
|
||||||
rm -rf /etc/freedombone
|
rm -rf /etc/freedombone
|
||||||
bash -c "translate uninstall"
|
bash -c "./translate uninstall"
|
||||||
clean:
|
clean:
|
||||||
rm -f \#* \.#* debian/*.substvars debian/*.log
|
rm -f \#* \.#* debian/*.substvars debian/*.log
|
||||||
rm -fr deb.* debian/${APP}
|
rm -fr deb.* debian/${APP}
|
||||||
|
|
Loading…
Reference in New Issue