summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-09-21 20:31:42 -0400
committermidipix <writeonce@midipix.org>2016-09-21 20:36:54 -0400
commitaf797c7e5da70ac3e90b7da86dc409a27112bcb5 (patch)
tree92ac1465fe17ca245a28b8403ef6b2d2795434ec /project
parentf54decf97e3a22754a20326fa42308211f4f245e (diff)
downloadbcparser-af797c7e5da70ac3e90b7da86dc409a27112bcb5.tar.bz2
bcparser-af797c7e5da70ac3e90b7da86dc409a27112bcb5.tar.xz
project: install cparser's manual page along with the application.
Diffstat (limited to 'project')
-rw-r--r--project/extras.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/project/extras.mk b/project/extras.mk
index 3a48eb8..1c568d8 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -10,6 +10,7 @@ CFLAGS_PATH += -I$(SOURCE_DIR)/include/cparser/wrappergen
src/driver/actions.o: version.tag
src/driver/actions.lo: version.tag
+
install-headers-custom:
mkdir -p $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)
mkdir -p $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)/adt
@@ -45,3 +46,12 @@ install-headers-custom:
cp $(SOURCE_DIR)/src/wrappergen/*.h \
$(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)/wrappergen
+
+
+install-man-custom:
+ mkdir -p $(DESTDIR)$(MANDIR)/man1
+
+ cp $(SOURCE_DIR)/cparser.1 \
+ $(DESTDIR)$(MANDIR)/man1
+
+install-app-extras: install-man-custom