diff options
author | midipix <writeonce@midipix.org> | 2016-09-21 20:31:42 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-09-21 20:36:54 -0400 |
commit | af797c7e5da70ac3e90b7da86dc409a27112bcb5 (patch) | |
tree | 92ac1465fe17ca245a28b8403ef6b2d2795434ec | |
parent | f54decf97e3a22754a20326fa42308211f4f245e (diff) | |
download | bcparser-af797c7e5da70ac3e90b7da86dc409a27112bcb5.tar.bz2 bcparser-af797c7e5da70ac3e90b7da86dc409a27112bcb5.tar.xz |
project: install cparser's manual page along with the application.
-rw-r--r-- | project/extras.mk | 10 |
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 |