summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.in85
-rw-r--r--man/local.mk28
-rw-r--r--man/oh-architecture.1in (renamed from man/oh-architecture.1.in)0
-rw-r--r--man/oh-autobuild.1in (renamed from man/oh-autobuild.1.in)0
-rw-r--r--man/oh-autoclean.1in (renamed from man/oh-autoclean.1.in)0
-rw-r--r--man/oh-autoconfigure.1in (renamed from man/oh-autoconfigure.1.in)0
-rw-r--r--man/oh-autoinstall.1in (renamed from man/oh-autoinstall.1.in)0
-rw-r--r--man/oh-autotest.1in (renamed from man/oh-autotest.1.in)0
-rw-r--r--man/oh-fixperms.1in (renamed from man/oh-fixperms.1.in)0
-rw-r--r--man/oh-installfiles.1in (renamed from man/oh-installfiles.1.in)0
-rw-r--r--man/oh-strip.1in (renamed from man/oh-strip.1.in)0
11 files changed, 28 insertions, 85 deletions
diff --git a/man/Makefile.in b/man/Makefile.in
deleted file mode 100644
index 4866e7c..0000000
--- a/man/Makefile.in
+++ /dev/null
@@ -1,85 +0,0 @@
-# opkhelper
-# Makefile.in
-# Input Makefile for configure.
-#
-# Copyright (C) 2012 Patrick "P. J." McDermott
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-package_name = @package_name@
-package_version= @package_version@
-package_description = @package_description@
-
-srcdir = @srcdir@
-prefix = @prefix@
-datadir = @datadir@
-mandir = @mandir@
-
-sh = @sh@
-
-sed_script = s&@@PACKAGE_NAME@@&$(package_name)&;\
- s&@@PACKAGE_VERSION@@&$(package_version)&;\
- s&@@PACKAGE_DESCRIPTION@@&$(package_description)&;
-
-.SUFFIXES:
-.SUFFIXES: .in
-
-SRCS = oh-installfiles.1.in oh-strip.1.in oh-fixperms.1.in \
- oh-autoconfigure.1.in oh-autobuild.1.in \
- oh-autoclean.1.in oh-autotest.1.in oh-autoinstall.1.in \
- oh-architecture.1.in
-OBJS = $(SRCS:.in=)
-
-distdir = ../$(package_name)-$(package_version)/man
-distfiles = Makefile.in $(SRCS)
-
-all: $(OBJS)
-
-$(OBJS):
- @printf ' SED man/%s\n' '$@'
- @abmon='Nul Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec '; \
- date=$$(LC_TIME=POSIX ls -l $(srcdir)/man/$@.in | sed 's/ / /g' | \
- cut -d ' ' -f 6-8); \
- md="$${date% *}"; \
- m="$$(echo $${abmon% $${md% *} *} | wc -w)"; \
- d="$${md#* }"; \
- [ $${m} -lt 10 ] && m="0$${m}"; \
- [ $${d} -lt 10 ] && d="0$${d}"; \
- y="$${date##* }"; \
- [ "$${y%:*}" != "$${y}" ] && y=$$(date '+%Y'); \
- sed "$(sed_script) s&@@DATE@@&$${y}-$${m}-$${d}&;" '$(srcdir)/man/$@.in' >'$@'
-
-clean:
- @for obj in $(OBJS); do \
- printf ' RM man/%s\n' "$${obj}"; \
- rm -f $${obj}; \
- done
-
-install: all
- @for obj in $(OBJS); do \
- printf ' INSTALL man/%s\n' "$${obj}"; \
- mkdir -p "$(DESTDIR)/$(mandir)/man$${obj##*.}"; \
- cp "$${obj}" "$(DESTDIR)/$(mandir)/man$${obj##*.}/$${obj}"; \
- chmod 644 "$(DESTDIR)/$(mandir)/man$${obj##*.}/$${obj}"; \
- done
-
-uninstall:
- @for obj in $(OBJS); do \
- printf ' RM %s\n' "$${obj}"; \
- rm -f "$(DESTDIR)/$(mandir)/man$${obj##*.}/$${obj}"; \
- done
-
-$(distdir):
- @mkdir -p '$(distdir)'
- @cp -pR $(distfiles) '$(distdir)'
diff --git a/man/local.mk b/man/local.mk
new file mode 100644
index 0000000..808e325
--- /dev/null
+++ b/man/local.mk
@@ -0,0 +1,28 @@
+# opkhelper
+# man/local.mk
+#
+# Copyright (C) 2012-2013 Patrick "P. J." McDermott
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+man1_srcs = \
+ man/oh-installfiles.1in \
+ man/oh-strip.1in \
+ man/oh-fixperms.1in \
+ man/oh-autoconfigure.1in \
+ man/oh-autobuild.1in \
+ man/oh-autoclean.1in \
+ man/oh-autotest.1in \
+ man/oh-autoinstall.1in \
+ man/oh-architecture.1in
diff --git a/man/oh-architecture.1.in b/man/oh-architecture.1in
index 6f0c6dd..6f0c6dd 100644
--- a/man/oh-architecture.1.in
+++ b/man/oh-architecture.1in
diff --git a/man/oh-autobuild.1.in b/man/oh-autobuild.1in
index e64b98b..e64b98b 100644
--- a/man/oh-autobuild.1.in
+++ b/man/oh-autobuild.1in
diff --git a/man/oh-autoclean.1.in b/man/oh-autoclean.1in
index 3e5dabb..3e5dabb 100644
--- a/man/oh-autoclean.1.in
+++ b/man/oh-autoclean.1in
diff --git a/man/oh-autoconfigure.1.in b/man/oh-autoconfigure.1in
index d086f74..d086f74 100644
--- a/man/oh-autoconfigure.1.in
+++ b/man/oh-autoconfigure.1in
diff --git a/man/oh-autoinstall.1.in b/man/oh-autoinstall.1in
index fbadf6a..fbadf6a 100644
--- a/man/oh-autoinstall.1.in
+++ b/man/oh-autoinstall.1in
diff --git a/man/oh-autotest.1.in b/man/oh-autotest.1in
index 49a16ca..49a16ca 100644
--- a/man/oh-autotest.1.in
+++ b/man/oh-autotest.1in
diff --git a/man/oh-fixperms.1.in b/man/oh-fixperms.1in
index aa51c64..aa51c64 100644
--- a/man/oh-fixperms.1.in
+++ b/man/oh-fixperms.1in
diff --git a/man/oh-installfiles.1.in b/man/oh-installfiles.1in
index bbc3a21..bbc3a21 100644
--- a/man/oh-installfiles.1.in
+++ b/man/oh-installfiles.1in
diff --git a/man/oh-strip.1.in b/man/oh-strip.1in
index fb0ca44..fb0ca44 100644
--- a/man/oh-strip.1.in
+++ b/man/oh-strip.1in