aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-04-29 14:17:08 -0400
committerYour Name <you@example.com>2021-04-29 14:17:08 -0400
commit5a813a75412ac9b8fadb90c9abd46dd95aee8e9b (patch)
tree75c5466d459c793430a6481cd276a624cd843794 /configure
parentcd57ad6e208728bafcbc8c7d7b85d88603706978 (diff)
downloaddmtool-5a813a75412ac9b8fadb90c9abd46dd95aee8e9b.tar.gz
dmtool-5a813a75412ac9b8fadb90c9abd46dd95aee8e9b.tar.bz2
dmtool-5a813a75412ac9b8fadb90c9abd46dd95aee8e9b.zip
Removed data files from repo
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure16
1 files changed, 15 insertions, 1 deletions
diff --git a/configure b/configure
index cd77b56..2e7e6b4 100755
--- a/configure
+++ b/configure
@@ -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