]> git.pld-linux.org Git - packages/automake.git/blame - automake-man.patch
- translated kloczkish into english
[packages/automake.git] / automake-man.patch
CommitLineData
6f3c9a84 1--- automake-1.4.orig/Makefile.in
2+++ automake-1.4/Makefile.in
3@@ -70,6 +70,7 @@
4
5 bin_SCRIPTS = automake aclocal
6 info_TEXINFOS = automake.texi
7+man_MANS = automake.1 aclocal.1
8
9 amfiles = clean-hdr.am clean-kr.am clean.am comp-vars.am compile.am data-clean.am data.am dejagnu.am depend.am depend2.am dist-vars.am footer.am header-vars.am header.am java-clean.am java.am kr-extra.am library.am libs-clean.am libs.am libtool.am lisp-clean.am lisp.am ltlib-clean.am ltlib.am ltlibrary.am mans-vars.am mans.am multilib.am program.am progs-clean.am progs.am remake-hdr.am remake.am scripts.am subdirs.am tags-clean.am tags.am texi-vers.am texinfos.am
10
11@@ -80,7 +81,7 @@
12 script_DATA = config.guess config.sub install-sh mdate-sh missing mkinstalldirs elisp-comp ylwrap acinstall
13
14
15-EXTRA_DIST = acinstall $(pkgdata_DATA) $(script_DATA)
16+EXTRA_DIST = acinstall $(pkgdata_DATA) $(script_DATA) $(man_MANS)
17
18 ETAGS_ARGS = $(amfiles)
19 TAGS_DEPENDENCIES = $(ETAGS_ARGS)
20@@ -93,6 +94,10 @@
21 INFO_DEPS = automake.info
22 DVIS = automake.dvi
23 TEXINFOS = automake.texi
24+man1dir = $(mandir)/man1
25+MANS = $(man_MANS)
26+
27+NROFF = nroff
28 DATA = $(pkgdata_DATA) $(script_DATA)
29
30 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
31@@ -287,6 +292,45 @@
32 fi; \
33 done
34
35+install-man1:
36+ $(mkinstalldirs) $(DESTDIR)$(man1dir)
37+ @list='$(man1_MANS)'; \
38+ l2='$(man_MANS)'; for i in $$l2; do \
39+ case "$$i" in \
40+ *.1*) list="$$list $$i" ;; \
41+ esac; \
42+ done; \
43+ for i in $$list; do \
44+ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
45+ else file=$$i; fi; \
46+ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
47+ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
48+ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
49+ echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
50+ $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
51+ done
52+
53+uninstall-man1:
54+ @list='$(man1_MANS)'; \
55+ l2='$(man_MANS)'; for i in $$l2; do \
56+ case "$$i" in \
57+ *.1*) list="$$list $$i" ;; \
58+ esac; \
59+ done; \
60+ for i in $$list; do \
61+ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
62+ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
63+ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
64+ echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
65+ rm -f $(DESTDIR)$(man1dir)/$$inst; \
66+ done
67+install-man: $(MANS)
68+ @$(NORMAL_INSTALL)
69+ $(MAKE) $(AM_MAKEFLAGS) install-man1
70+uninstall-man:
71+ @$(NORMAL_UNINSTALL)
72+ $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
73+
74 install-pkgdataDATA: $(pkgdata_DATA)
75 @$(NORMAL_INSTALL)
76 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
77@@ -488,7 +532,8 @@
78 install-exec-am: install-binSCRIPTS
79 install-exec: install-exec-recursive
80
81-install-data-am: install-info-am install-pkgdataDATA install-scriptDATA
82+install-data-am: install-info-am install-man install-pkgdataDATA \
83+ install-scriptDATA
84 @$(NORMAL_INSTALL)
85 $(MAKE) $(AM_MAKEFLAGS) install-data-hook
86 install-data: install-data-recursive
87@@ -496,17 +541,18 @@
88 install-am: all-am
89 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
90 install: install-recursive
91-uninstall-am: uninstall-binSCRIPTS uninstall-info uninstall-pkgdataDATA \
92- uninstall-scriptDATA
93+uninstall-am: uninstall-binSCRIPTS uninstall-info uninstall-man \
94+ uninstall-pkgdataDATA uninstall-scriptDATA
95 uninstall: uninstall-recursive
96-all-am: Makefile $(INFO_DEPS) $(SCRIPTS) $(DATA)
97+all-am: Makefile $(INFO_DEPS) $(SCRIPTS) $(MANS) $(DATA)
98 all-redirect: all-recursive
99 install-strip:
100 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
101 installdirs: installdirs-recursive
102 installdirs-am:
103 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) \
104- $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(scriptdir)
105+ $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(pkgdatadir) \
106+ $(DESTDIR)$(scriptdir)
107
108
109 mostlyclean-generic:
110@@ -546,7 +592,8 @@
111 .PHONY: uninstall-binSCRIPTS install-binSCRIPTS mostlyclean-vti \
112 distclean-vti clean-vti maintainer-clean-vti install-info-am \
113 uninstall-info mostlyclean-aminfo distclean-aminfo clean-aminfo \
114-maintainer-clean-aminfo uninstall-pkgdataDATA install-pkgdataDATA \
115+maintainer-clean-aminfo install-man1 uninstall-man1 install-man \
116+uninstall-man uninstall-pkgdataDATA install-pkgdataDATA \
117 uninstall-scriptDATA install-scriptDATA install-data-recursive \
118 uninstall-data-recursive install-exec-recursive \
119 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
120--- automake-1.4.orig/Makefile.am
121+++ automake-1.4/Makefile.am
122@@ -9,6 +9,7 @@
123
124 bin_SCRIPTS = automake aclocal
125 info_TEXINFOS = automake.texi
126+man_MANS = automake.1 aclocal.1
127
128 amfiles = clean-hdr.am clean-kr.am clean.am comp-vars.am compile.am \
129 data-clean.am data.am dejagnu.am depend.am depend2.am dist-vars.am \
130@@ -32,7 +33,7 @@
131 chmod +x $(scriptdir)/$$prog; \
132 done
133
134-EXTRA_DIST = acinstall $(pkgdata_DATA) $(script_DATA)
135+EXTRA_DIST = acinstall $(pkgdata_DATA) $(script_DATA) $(man_MANS)
136
137 # The following requires a fixed version of the Emacs 19.30 etags.
138 ETAGS_ARGS = automake.in aclocal.in --lang=none \
139--- automake-1.4.orig/automake.1
140+++ automake-1.4/automake.1
141@@ -0,0 +1,223 @@
142+.\" Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
143+.\" Copyright (C) 1998 Ben Pfaff.
144+.\"
145+.\" Permission is granted to make and distribute verbatim copies of
146+.\" this manual provided the copyright notice and this permission notice
147+.\" are preserved on all copies.
148+.\"
149+.\" Permission is granted to copy and distribute modified versions of this
150+.\" manual under the conditions for verbatim copying, provided that the entire
151+.\" resulting derived work is distributed under the terms of a permission
152+.\" notice identical to this one.
153+.\"
154+.\" Permission is granted to copy and distribute translations of this manual
155+.\" into another language, under the above conditions for modified versions,
156+.\" except that this permission notice may be stated in a translation approved
157+.\" by the Foundation.
158+.\"
159+.TH AUTOMAKE 1 "Automake"
160+.SH NAME
161+automake - automatically create Makefile.in's from Makefile.am's
162+.SH SYNOPSIS
163+.B automake
164+[
165+.B -a
166+|
167+.B --add-missing
168+] [
169+.BR --amdir= DIR
170+] [
171+.BR --build-dir= DIR
172+] [
173+.B --cygnus
174+] [
175+.B --foreign
176+] [
177+.B --gnits
178+] [
179+.B --gnu
180+] [
181+.B --help
182+] [
183+.B -i
184+|
185+.B --include-deps
186+] [
187+.B --no-force
188+] [
189+.B -o
190+DIR
191+] [
192+.BR --output-dir= DIR
193+] [
194+.BR --srcdir-name= DIR
195+] [
196+.B -v
197+|
198+.B --verbose
199+] [
200+.B --version
201+]
202+.SH DESCRIPTION
203+.PP
204+To create all the
205+.BR Makefile.in s
206+for a package, run the
207+.B automake
208+program in the top level directory, with no arguments.
209+.B automake
210+will automatically find each appropriate
211+.B Makefile.am
212+(by scanning
213+.BR configure.in )
214+and generate the corresponding
215+.BR Makefile.in .
216+Note that
217+.B automake
218+has a rather simplistic view of what constitutes a package; it assumes
219+that a package has only one
220+.BR configure.in ,
221+at the
222+top. If your package has multiple
223+.BR configure.in s,
224+then you must run
225+.B automake
226+in each directory holding a
227+.BR configure.in .
228+.PP
229+You can optionally give
230+.B automake
231+an argument;
232+.B .am
233+is appended to the argument and the result is used as the name of the
234+input file. This feature is generally only used to automatically
235+rebuild an out-of-date
236+.BR Makefile.in .
237+Note that
238+.B automake
239+must always be run from the topmost directory of a project, even if
240+being used to regenerate the
241+.B Makefile.in
242+in some subdirectory. This is necessary
243+because
244+.B automake
245+must scan
246+.BR configure.in ,
247+and because
248+.B automake
249+uses the knowledge that a
250+.B Makefile.in
251+is in a subdirectory to change its behavior in some cases.
252+.PP
253+.B automake
254+accepts the following options:
255+.TP
256+.BI -a
257+.TP
258+.BI --add-missing
259+Automake requires certain common files to exist in certain
260+situations; for instance
261+.B config.guess
262+is required if
263+.B configure.in
264+runs
265+.BR AC_CANONICAL_HOST .
266+Automake is distributed with several of these files; this option will
267+cause the missing ones to be automatically added to the package,
268+whenever possible. In general if Automake tells you a file is
269+missing, try using this option.
270+.TP
271+.BI --amdir=\fRDIR
272+Look for Automake data files in directory DIR instead of in the
273+installation directory. This is typically used for debugging.
274+.TP
275+.BI --build-dir=\fRDIR
276+Tell Automake where the build directory is. This option is used
277+when including dependencies into a
278+.B Makefile.in
279+generated by
280+.B make
281+.BR dist ;
282+it should not be used otherwise.
283+.TP
284+.BI --cygnus
285+Causes the generated
286+.BR Makefile.in s
287+to follow Cygnus rules, instead of GNU or Gnits rules.
288+.TP
289+.BI --foreign
290+Set the global strictness to
291+.BR foreign .
292+.TP
293+.BI --gnits
294+Set the global strictness to
295+.BR gnits .
296+.TP
297+.BI --gnu
298+Set the global strictness to
299+.BR gnu .
300+This is the default strictness.
301+.TP
302+.BI --help
303+Print a summary of the command line options and exit.
304+.TP
305+.BI -i
306+.TP
307+.BI --include-deps
308+Include all automatically generated dependency information in the
309+generated
310+.BR Makefile.in .
311+This is generally done
312+when making a distribution.
313+.TP
314+.BI --no-force
315+Ordinarily
316+.B automake
317+creates all
318+.BR Makefile.in s
319+mentioned in
320+.BR configure.in .
321+This option causes it to only update those
322+.BR Makefile.in s
323+which are out of date with respect to one of their dependents.
324+.TP
325+.BI -o\ \fRDIR
326+.TP
327+.BI --output-dir=\fRDIR
328+Put the generated
329+.B Makefile.in
330+in the directory DIR. Ordinarily
331+each
332+.B Makefile.in
333+is created in the directory of the
334+corresponding
335+.BR Makefile.am .
336+This option is used when making
337+distributions.
338+.TP
339+.BI --srcdir-name=\fRDIR
340+Tell Automake the name of the source directory associated with the
341+current build. This option is used when including dependencies into a
342+.B Makefile.in
343+generated by
344+.BR make dist ;
345+it should not be used otherwise.
346+.TP
347+.BI -v
348+.TP
349+.BI --verbose
350+Cause Automake to print information about which files are being read
351+or created.
352+.TP
353+.BI --version
354+Print the version number of Automake and exit.
355+.PP
356+.SH "SEE ALSO"
357+.BR aclocal (1),
358+and the Texinfo documentation for automake
359+.SH AUTHORS
360+Automake was written primarily by David Mackenzie and Tom Tromey.
361+This manpage written by Ben Pfaff <pfaffben@pilot.msu.edu> for the
362+Debian GNU/Linux
363+.B automake
364+package.
365--- automake-1.4.orig/aclocal.1
366+++ automake-1.4/aclocal.1
367@@ -0,0 +1,108 @@
368+.\" Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
369+.\" Copyright (C) 1998 Ben Pfaff.
370+.\"
371+.\" Permission is granted to make and distribute verbatim copies of
372+.\" this manual provided the copyright notice and this permission notice
373+.\" are preserved on all copies.
374+.\"
375+.\" Permission is granted to copy and distribute modified versions of this
376+.\" manual under the conditions for verbatim copying, provided that the entire
377+.\" resulting derived work is distributed under the terms of a permission
378+.\" notice identical to this one.
379+.\"
380+.\" Permission is granted to copy and distribute translations of this manual
381+.\" into another language, under the above conditions for modified versions,
382+.\" except that this permission notice may be stated in a translation approved
383+.\" by the Foundation.
384+.\"
385+.TH ACLOCAL 1 "Automake"
386+.SH NAME
387+aclocal - automatically generate aclocal.m4 from configure.in
388+.SH SYNOPSIS
389+.B aclocal
390+[
391+.BR --acdir= DIR
392+] [
393+.B --help
394+] [
395+.B -I
396+DIR ] [
397+.BR --output= FILE
398+] [
399+.B --verbose
400+] [
401+.B --version
402+]
403+.SH DESCRIPTION
404+.PP
405+Automake includes a number of Autoconf macros which can be used in
406+your package; some of them are actually required by Automake in certain
407+situations. These macros must be defined in your
408+.BR aclocal.m4 ;
409+otherwise they will not be seen by
410+.BR autoconf .
411+.PP
412+The
413+.B aclocal
414+program will automatically generate
415+.B aclocal.m4
416+files based on the contents of
417+.BR configure.in .
418+This provides a convenient way to get Automake-provided macros,
419+without having to search around. Also, the
420+.B aclocal
421+mechanism is extensible for use by other packages.
422+.PP
423+At startup,
424+.B aclocal
425+scans all the
426+.B .m4
427+files it can find, looking for macro definitions. Then it scans
428+.BR configure.in .
429+Any mention of one of the macros found in the first step causes that
430+macro, and any macros it in turn requires, to be put into
431+.BR aclocal.m4 .
432+.PP
433+The contents of
434+.BR acinclude.m4 ,
435+if it exists, are also automatically included in
436+.BR aclocal.m4 .
437+This is useful for incorporating local macros into
438+.BR configure .
439+.PP
440+.B aclocal
441+accepts the following options:
442+.TP
443+.BI --acdir=\fRDIR
444+Look for the macro files in DIR instead of the installation
445+directory. This is typically used for debugging.
446+.TP
447+.BI --help
448+Print a summary of the command line options and exit.
449+.TP
450+.BI -I\fR\ DIR
451+Add the directory DIR to the list of directories searched for
452+.B .m4
453+files.
454+.TP
455+.BI --output=\fRFILE
456+Cause the output to be put into FILE instead of
457+.BR aclocal.m4 .
458+.TP
459+.BI -v
460+.TP
461+.BI --verbose
462+Print the names of the files it examines.
463+.TP
464+.BI --version
465+Print the version number of Automake and exit.
466+.PP
467+.SH "SEE ALSO"
468+.BR automake (1),
469+and the Texinfo documentation for automake
470+.SH AUTHORS
471+Automake was written primarily by David Mackenzie and Tom Tromey.
472+This manpage written by Ben Pfaff <pfaffben@pilot.msu.edu> for the
473+Debian GNU/Linux
474+.B automake
475+package.
476--- automake-1.4.orig/debian/control
477+++ automake-1.4/debian/control
478@@ -0,0 +1,17 @@
479+Source: automake
480+Section: devel
481+Priority: optional
482+Maintainer: Kevin Dalley <kevind@rahul.net>
483+Standards-Version: 2.4.0.0
484+
485+Package: automake
486+Architecture: all
487+Section: devel
488+Depends: autoconf
489+Description: A tool for generating GNU Standards-compliant Makefiles.
490+ Automake is a tool for automatically generating `Makefile.in's from
491+ files called `Makefile.am'. The `Makefile.am' is basically a series of
492+ `make' macro definitions (with rules being thrown in occasionally).
493+ The generated `Makefile.in's are compliant with the GNU Makefile
494+ standards.
495+
496--- automake-1.4.orig/debian/changelog
497+++ automake-1.4/debian/changelog
498@@ -0,0 +1,120 @@
499+automake (1.4-2) unstable; urgency=low
500+
501+ * This patch allows the proper use and detection of alphapca56
502+ machines. Debian Alpha needs this. (fixes bug #32390).
503+
504+ -- Kevin Dalley <kevind@rahul.net> Sat, 30 Jan 1999 14:49:29 -0800
505+
506+automake (1.4-1) unstable; urgency=low
507+
508+ * first release of automake-1.4, which includes support for latest
509+ autoconf, fixes a number of bugs
510+
511+ -- Kevin Dalley <kevind@rahul.net> Sat, 16 Jan 1999 14:26:53 -0800
512+
513+automake (1.3-1) frozen unstable; urgency=low
514+
515+ * first non-alpha release of automake compatible with 1.0h
516+
517+ -- Kevin Dalley <kevind@rahul.net> Fri, 10 Apr 1998 01:34:25 -0700
518+
519+automake (1.2h-1) frozen unstable; urgency=low
520+
521+ * first release of automake-1.2h
522+ * compatible with current release of libtool
523+ * moved from experimental to main release
524+
525+ -- Kevin Dalley <kevind@rahul.net> Tue, 24 Mar 1998 02:13:22 -0800
526+
527+automake (1.2f-1) experimental; urgency=low
528+
529+ * first release of automake-1.2f
530+ * reimplemented man page handling
531+
532+ -- Kevin Dalley <kevind@rahul.net> Fri, 27 Feb 1998 23:51:55 -0800
533+
534+automake (1.2e-2) experimental; urgency=low
535+
536+ * added aclocal and automake man pages (fixes: bug #18200)
537+
538+ -- Kevin Dalley <kevind@rahul.net> Sun, 22 Feb 1998 13:53:11 -0800
539+
540+automake (1.2e-1) experimental; urgency=low
541+
542+ * first release of automake-1.2e
543+ * added undocumented man pages
544+ * installed additional files to /usr/doc/automake
545+ * upgraded to Standards-Version 2.4.0.0
546+ * corrected copyright file
547+
548+ -- Kevin Dalley <kevind@rahul.net> Sat, 14 Feb 1998 13:16:13 -0800
549+
550+automake (1.2d-2) experimental; urgency=low
551+
552+ * corrected copyright file, updated control file
553+
554+ -- Kevin Dalley <kevind@rahul.net> Sun, 21 Dec 1997 20:21:41 -0800
555+
556+automake (1.2d-1) experimental; urgency=low
557+
558+ * first release of 1.2d. This version is beta. Use at your own risk.
559+
560+ -- Kevin Dalley <kevind@rahul.net> Wed, 3 Dec 1997 22:49:05 -0800
561+
562+automake (1.2-1) unstable; urgency=low
563+
564+ * automake-1.2 release
565+
566+ -- Kevin Dalley <kevin@aimnet.com> Fri, 4 Jul 1997 12:31:49 -0700
567+
568+automake (1.0-4) frozen unstable; urgency=low
569+
570+ * rebuilt using /usr/bin/perl rather than /bin/perl
571+
572+ -- Kevin Dalley <kevin@aimnet.com> Mon, 2 Jun 1997 23:55:56 -0700
573+
574+automake (1.0-3) frozen unstable; urgency=low
575+
576+ * now in frozen and unstable
577+
578+ -- Kevin Dalley <kevin@aimnet.com> Wed, 9 Apr 1997 23:23:41 -0700
579+
580+automake (1.0-2) unstable; urgency=low
581+
582+ * added ";" to tags.am for compatibility with bash-2.0.
583+
584+ -- Kevin Dalley <kevin@aimnet.com> Tue, 8 Apr 1997 22:39:25 -0700
585+
586+automake (1.0-1) unstable; urgency=low
587+
588+ * Updated to Standards-Version 2.1.1.0.
589+ * fixed bug #3551, summary starts with pkg name
590+ * modified clean target
591+
592+ -- Kevin Dalley <kevin@aimnet.com> Thu, 10 Oct 1996 23:54:45 -0700
593+
594+Sat Oct 5 15:30:42 1996 Kevin Dalley <kevin@aimnet.com>
595+
596+ * debian/rules, debian/postrm, debian/postinst, debian/control,
597+ debian/copyright, debian/rules, debian/ChangeLog: moved files to
598+ debian directory and removed "debian." prefix
599+
600+ * debian.rules, debian.postrm, debian.postinst, debian.control,
601+ debian.README, debian.rules, debian.ChangeLog: moved files to
602+ debian directory and removed "debian." prefix
603+
604+ * debian.control: added multiple line description
605+
606+
607+Sun Jun 2 16:26:54 1996 Kevin Dalley <kevin@aplysia.iway.aimnet.com (Kevin Dalley)>
608+
609+ * debian.rules: changed diff options
610+ use $Date$ for last update
611+
612+ * debian.README, debian.control, debian.postinst, debian.postrm,
613+ debian.rules: added debian files
614+
615+
616+Local variables:
617+mode: debian-changelog
618+End:
619--- automake-1.4.orig/debian/copyright
620+++ automake-1.4/debian/copyright
621@@ -0,0 +1,16 @@
622+This is the Debian GNU/Linux prepackaged version of GNU automake.
623+automake was primarily written by David Mackenzie and Tom Tromey.
624+
625+
626+This package was put together by Kevin Dalley <kevind@rahul.net>,
627+from sources obtained from:
628+ ftp.cygnus.com:/pub/tromey
629+
630+Changes:
631+ * added Debian GNU/Linux package maintenance system files
632+ * added manual pages for automake and aclocal
633+
634+automake is Copyright (C) 1999 Free Software Foundation, Inc.
635+
636+On Debian GNU/Linux systems, the complete text of the GNU General
637+Public License can be found in `/usr/doc/copyright/GPL'.
638--- automake-1.4.orig/debian/postinst
639+++ automake-1.4/debian/postinst
640@@ -0,0 +1,6 @@
641+#! /bin/sh
642+
643+set -e
644+
645+install-info --quiet --section "Development" "Development" \
646+ /usr/info/automake.info
647--- automake-1.4.orig/debian/rules
648+++ automake-1.4/debian/rules
649@@ -0,0 +1,84 @@
650+#! /usr/bin/make -f
651+#
652+# Last updated: $Date$ by Kevin Dalley <kevind@rahul.net>
653+#
654+# Copyright 1994,1995 by Ian Jackson.
655+# I hereby give you perpetual unlimited permission to copy,
656+# modify and relicense this file, provided that you do not remove
657+# my name from the file itself. (I assert my moral right of
658+# paternity under the Copyright, Designs and Patents Act 1988.)
659+# This file may have to be extensively modified
660+# Copyright 1996, 1997, 1998 by Kevin Dalley.
661+
662+# To make the binary distribution package, the ``Debianized'' source package
663+# and the context diff to the original package, type `./debian.rules dist'.
664+# Make sure that `debian.rules' is executable before the final distribution
665+# is made.
666+#
667+# Invoke each target with `./debian.rules <target>'. All targets should be
668+# invoked with the package root as the current directory.
669+#
670+# The `binary' target must be run as root, as it needs to install files with
671+# specific ownerships. The `diff' target assumes that you have the original
672+# source package available, unpacked, in ../$(p)-$(v).orig, or that you have
673+# the previous revision of the ``Debianized'' source package and context diff
674+# in the parent directory.
675+
676+# The name of the package (for example, `emacs').
677+package = automake
678+
679+build:
680+ $(checkdir)
681+ ./configure --prefix=/usr
682+ $(MAKE)
683+ touch build
684+
685+clean:
686+ $(checkdir)
687+ -rm -f build
688+ -$(MAKE) -i distclean || $(MAKE) -f Makefile.in distclean
689+ -rm -rf *~ debian/tmp debian/*~ debian/files*
690+
691+binary-indep: checkroot build
692+ $(checkdir)
693+ -rm -rf debian/tmp
694+ install -d debian/tmp debian/tmp/DEBIAN
695+ install -d debian/tmp/usr/doc/$(package)
696+ install debian/{postinst,prerm} debian/tmp/DEBIAN/.
697+ $(MAKE) INSTALL_PROGRAM='install -c' \
698+ prefix=`pwd`/debian/tmp/usr install
699+ gzip -9v debian/tmp/usr/info/*
700+ gzip -9v debian/tmp/usr/man/man1/*
701+ install -m 644 debian/copyright debian/tmp/usr/doc/$(package)/.
702+ install -m 644 debian/changelog \
703+ debian/tmp/usr/doc/$(package)/changelog.Debian
704+ gzip -9v debian/tmp/usr/doc/$(package)/changelog.Debian
705+ for file in AUTHORS ChangeLog INSTALL NEWS README \
706+ THANKS TODO; do \
707+ install -m 644 $$file \
708+ debian/tmp/usr/doc/$(package);\
709+ gzip -9v debian/tmp/usr/doc/$(package)/$$file;\
710+ done
711+ ln -s ChangeLog.gz debian/tmp/usr/doc/$(package)/changelog.gz
712+ dpkg-gencontrol
713+ dpkg --build debian/tmp ..
714+
715+binary-arch:
716+
717+
718+define checkdir
719+ test -f $(package).texi -a -f debian/rules
720+endef
721+
722+# Below here is fairly generic really
723+
724+binary: binary-indep binary-arch
725+
726+source diff:
727+ @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
728+
729+checkroot:
730+ $(checkdir)
731+ test root = "`whoami`"
732+
733+.PHONY: binary binary-arch binary-indep clean checkroot
734--- automake-1.4.orig/debian/prerm
735+++ automake-1.4/debian/prerm
736@@ -0,0 +1,4 @@
737+#! /bin/sh -e
738+
739+install-info --quiet --remove /usr/info/automake.info
740+
741--- automake-1.4.orig/config.h.in
742+++ automake-1.4/config.h.in
743@@ -0,0 +1,8 @@
744+/* config.h.in. Generated automatically from configure.in by autoheader. */
745+
746+/* Name of package */
747+#undef PACKAGE
748+
749+/* Version number of package */
750+#undef VERSION
751+
This page took 0.191062 seconds and 4 git commands to generate.