From af797c7e5da70ac3e90b7da86dc409a27112bcb5 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 21 Sep 2016 20:31:42 -0400 Subject: project: install cparser's manual page along with the application. --- project/extras.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'project') 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 -- cgit v1.2.3