From aab72730b394c039d9df6e4abfa5d667aaa00d13 Mon Sep 17 00:00:00 2001 From: erg Date: Mon, 4 Apr 2011 20:43:24 +0000 Subject: [PATCH] Add lines for man page and pdf file; add line to actually install the software --- cmd/gvedit/Makefile.am | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/cmd/gvedit/Makefile.am b/cmd/gvedit/Makefile.am index f15b4017e..53fdaa824 100644 --- a/cmd/gvedit/Makefile.am +++ b/cmd/gvedit/Makefile.am @@ -3,6 +3,7 @@ SUBDIRS = ui images +pdfdir = $(pkgdatadir)/doc/pdf gveditdir = $(pkgdatadir)/gvedit if WITH_QT @@ -10,6 +11,9 @@ bin_PROGRAMS = gvedit gvedit_DATA = attrs.txt endif +man_MANS = gvedit.1 +pdf_DATA = gvedit.1.pdf + gvedit_SOURCES = main.cpp csettings.cpp mainwindow.cpp imageviewer.cpp mdichild.cpp noinst_HEADERS = csettings.h imageviewer.h mainwindow.h mdichild.h ui_settings.h @@ -19,11 +23,14 @@ qMakefile: gvedit.pro gvedit: main.cpp csettings.cpp mainwindow.cpp imageviewer.cpp mdichild.cpp qMakefile $(MAKE) -f qMakefile prefix=${prefix} exec_prefix=${exec_prefix} top_builddir=$(top_builddir) + ln gvedit.app/Contents/MacOS/gvedit . attrs.txt: $(top_srcdir)/doc/infosrc/attrs cp $(top_srcdir)/doc/infosrc/attrs attrs.txt -EXTRA_DIST = \ - gvedit.pro.in mdi.qrc +gvedit.1.pdf: $(srcdir)/gvedit.1 + - @GROFF@ -Tps -man $(srcdir)/gvedit.1 | @PS2PDF@ - - >gvedit.1.pdf -DISTCLEAN = attrs.txt +EXTRA_DIST = gvedit.pro.in mdi.qrc $(man_MANS) $(pdf_DATA) + +DISTCLEAN = attrs.txt $(pdf_DATA) -- 2.40.0