diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -16,6 +16,20 @@ LDFLAGS= SOURCE_DIR="src" +EXTRAS=" +parsed: parser/scrapeToJson.py parser/utils.py + python parser/scrapeToJson.py + touch parsed/ +" + +INSTALL=" +install: \$(EXECUTABLE) parsed + install -d \$(DESTDIR)\$(PREFIX)/share/dmtool/ + cp -r parsed/* \$(DESTDIR)\$(PREFIX)/share/dmtool/ + install -d \$(DESTDIR)\$(PREFIX)/bin/ + install -m 755 \$(EXECUTABLE) \$(DESTDIR)\$(PREFIX)/bin/ +" + # Below here shouldn't need editing SOURCES=`ls $SOURCE_DIR/*.cc | tr '\n' ' '` @@ -63,7 +77,7 @@ ifeq (\$(PREFIX),) endif $ALL -$LIBRULE$EXERULE +$EXTRAS$INSTALL$LIBRULE$EXERULE $ORULES |