1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
## Process this file with automake to produce Makefile.in
# subdirectories to scan
SUBDIRS = build glade help misc pedrom pixmaps po skins src
if USE_GROFF
SUBDIRS += man
endif
dist_pkgdata_DATA = COPYING RELEASE AUTHORS LICENSES
EXTRA_DIST = BUGS README.* TODO docs desktop sdk po/copy.bat po/TRANSLATORS install.bat
# install hook to install prebuilt Manpage.txt if groff is not available
install-data-local:
if !USE_GROFF
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
$(INSTALL_DATA) $(srcdir)/man/Manpage.txt $(DESTDIR)$(pkgdatadir)/Manpage.txt
endif
# custom targets
install-without-tcl-tk:
if NO_GDB
$(MAKE) install DESTDIR="$(DESTDIR)"
else
if USE_GROFF
$(MAKE) install SUBDIRS="build glade help misc pedrom pixmaps skins man" DESTDIR="$(DESTDIR)"
else
$(MAKE) install SUBDIRS="build glade help misc pedrom pixmaps skins" DESTDIR="$(DESTDIR)"
endif
cd src && $(MAKE) install-without-tcl-tk DESTDIR="$(DESTDIR)"
endif
install-without-tcl-tk-itcl:
if NO_GDB
$(MAKE) install DESTDIR="$(DESTDIR)"
else
if USE_GROFF
$(MAKE) install SUBDIRS="build glade help misc pedrom pixmaps skins man" DESTDIR="$(DESTDIR)"
else
$(MAKE) install SUBDIRS="build glade help misc pedrom pixmaps skins" DESTDIR="$(DESTDIR)"
endif
cd src && $(MAKE) install-without-tcl-tk-itcl DESTDIR="$(DESTDIR)"
endif
regsvr:
cd src && $(MAKE) regsvr DESTDIR="$(DESTDIR)"
ACLOCAL_AMFLAGS = -I m4
|