Skip to content
Snippets Groups Projects
Commit db1a4cd7 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

get rid of dmake

parent d8d6cd8d
No related branches found
No related tags found
No related merge requests found
- get rid of dmake, automake compiles frida.pod
- make install now installs man page and aux files (/usr/local/share/frida)
- executable renamed frida2 -> frida
......
man_MANS = frida.1
\ No newline at end of file
man_MANS = frida.1
auxdir = $(datadir)/frida/html
aux_DATA = frida.html podstyle.css index.html
frida.1 : frida.pod
pod2man -s 1 -c "frida manual" $< > $@
frida.html : frida.pod
pod2html --title="Frida - Fast reliable interactive data analysis" --noindex $< > $@
......@@ -14,6 +14,7 @@
# PARTICULAR PURPOSE.
@SET_MAKE@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
......@@ -72,9 +73,10 @@ am__base_list = \
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
man1dir = $(mandir)/man1
am__installdirs = "$(DESTDIR)$(man1dir)"
am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(auxdir)"
NROFF = nroff
MANS = $(man_MANS)
DATA = $(aux_DATA)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
ALLOCA = @ALLOCA@
......@@ -204,6 +206,8 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
man_MANS = frida.1
auxdir = $(datadir)/frida/html
aux_DATA = frida.html podstyle.css index.html
all: all-am
.SUFFIXES:
......@@ -281,6 +285,26 @@ uninstall-man1:
test -z "$$files" || { \
echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
install-auxDATA: $(aux_DATA)
@$(NORMAL_INSTALL)
test -z "$(auxdir)" || $(MKDIR_P) "$(DESTDIR)$(auxdir)"
@list='$(aux_DATA)'; test -n "$(auxdir)" || list=; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(auxdir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(auxdir)" || exit $$?; \
done
uninstall-auxDATA:
@$(NORMAL_UNINSTALL)
@list='$(aux_DATA)'; test -n "$(auxdir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
test -n "$$files" || exit 0; \
echo " ( cd '$(DESTDIR)$(auxdir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(auxdir)" && rm -f $$files
tags: TAGS
TAGS:
......@@ -333,9 +357,9 @@ distdir: $(DISTFILES)
done
check-am: all-am
check: check-am
all-am: Makefile $(MANS)
all-am: Makefile $(MANS) $(DATA)
installdirs:
for dir in "$(DESTDIR)$(man1dir)"; do \
for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(auxdir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
......@@ -383,7 +407,7 @@ info: info-am
info-am:
install-data-am: install-man
install-data-am: install-auxDATA install-man
install-dvi: install-dvi-am
......@@ -427,7 +451,7 @@ ps: ps-am
ps-am:
uninstall-am: uninstall-man
uninstall-am: uninstall-auxDATA uninstall-man
uninstall-man: uninstall-man1
......@@ -436,15 +460,22 @@ uninstall-man: uninstall-man1
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
distclean distclean-generic distclean-libtool distdir dvi \
dvi-am html html-am info info-am install install-am \
install-data install-data-am install-dvi install-dvi-am \
install-exec install-exec-am install-html install-html-am \
install-info install-info-am install-man install-man1 \
install-pdf install-pdf-am install-ps install-ps-am \
install-strip installcheck installcheck-am installdirs \
maintainer-clean maintainer-clean-generic mostlyclean \
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
uninstall uninstall-am uninstall-man uninstall-man1
install-auxDATA install-data install-data-am install-dvi \
install-dvi-am install-exec install-exec-am install-html \
install-html-am install-info install-info-am install-man \
install-man1 install-pdf install-pdf-am install-ps \
install-ps-am install-strip installcheck installcheck-am \
installdirs maintainer-clean maintainer-clean-generic \
mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
ps ps-am uninstall uninstall-am uninstall-auxDATA \
uninstall-man uninstall-man1
frida.1 : frida.pod
pod2man -s 1 -c "frida manual" $< > $@
frida.html : frida.pod
pod2html --title="Frida - Fast reliable interactive data analysis" --noindex $< > $@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
......
#!/bin/sh
# convert documentation "frida.pod" into man page and web page
# (only needed by the maintainer; output files are part of the distribution)
pod2man -s 3 -c "Frida man page" frida.pod > frida.1
pod2html --title="Frida - Fast reliable interactive data analysis" --noindex frida.pod > frida.html
......@@ -123,8 +123,8 @@
.rm #[ #] #H #V #F C
.\" ========================================================================
.\"
.IX Title "frida 3"
.TH frida 3 "2010-04-07" "perl v5.10.1" "Frida man page"
.IX Title "FRIDA 1"
.TH FRIDA 1 "2010-04-07" "perl v5.10.1" "frida manual"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment