Browse Source
* Makefile.am: * version.texi: * configure.ac: New files. * c.texi: Include version.texi. * Makefile: Add copyright and license notices, gather common dependencies in $(SOURCES), use $< and $@ in rules. * AUTHORS: Update.trunk
Ineiev
1 year ago
7 changed files with 58 additions and 20 deletions
@ -1,29 +1,35 @@
|
||||
c-manual.tgz: c.texi cpp.texi fp.texi fdl.texi |
||||
mkdir c-manual
|
||||
ln Makefile c.texi cpp.texi fp.texi fdl.texi c-manual
|
||||
tar czf c-manual.tgz c-manual
|
||||
rm -rf c-manual
|
||||
# Simple Makefile to build the manual from Git checkout without
|
||||
# the need to bootstrap the build system.
|
||||
#
|
||||
# Copyright (C) 2023 Richard Stallman
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# are permitted in any medium without royalty provided the copyright
|
||||
# notice and this notice are preserved. This file is offered as-is,
|
||||
# without any warranty.
|
||||
|
||||
c.info: c.texi cpp.texi fp.texi fdl.texi |
||||
SOURCES = c.texi cpp.texi fp.texi gpl.texi fdl.texi version.texi
|
||||
|
||||
c.info: $(SOURCES) |
||||
makeinfo c.texi
|
||||
|
||||
c.pdf: c.dvi |
||||
dvipdf c.dvi
|
||||
dvipdf $<
|
||||
|
||||
c.dvi: c.texi cpp.texi fp.texi fdl.texi |
||||
texi2dvi c.texi
|
||||
c.dvi: $(SOURCES) |
||||
texi2dvi $<
|
||||
|
||||
c.doc: c.texi cpp.texi fp.texi fdl.texi |
||||
makeinfo --docbook c.texi -o $@
|
||||
c.html: c.texi cpp.texi fp.texi fdl.texi |
||||
makeinfo --html --no-split c.texi -o $@
|
||||
c.html.d: c.texi cpp.texi fp.texi fdl.texi |
||||
makeinfo --html c.texi -o $@
|
||||
c.txt: c.texi cpp.texi fp.texi fdl.texi |
||||
makeinfo --plaintext c.texi > $@
|
||||
c.doc: $(SOURCES) |
||||
makeinfo --docbook $< -o $@
|
||||
c.html: $(SOURCES) |
||||
makeinfo --html --no-split $< -o $@
|
||||
c.html.d: $(SOURCES) |
||||
makeinfo --html $< -o $@
|
||||
c.txt: $(SOURCES) |
||||
makeinfo --plaintext $< > $@
|
||||
|
||||
clean: |
||||
rm -f c-manual.tgz c.dvi c.pdf c.info c.info-* c.doc c.txt
|
||||
rm -rf c.html
|
||||
rm -f c.dvi c.pdf c.info c.info-* c.doc c.txt c.html
|
||||
rm -rf c.html.d
|
||||
rm -f c.aux c.cp c.fn c.ky c.log c.pg c.tmp c.toc c.tp c.vr
|
||||
rm -f c.cps c.fns
|
||||
|
@ -0,0 +1,3 @@
|
||||
info_TEXINFOS = c.texi
|
||||
c_TEXINFOS = cpp.texi fp.texi fdl.texi gpl.texi
|
||||
dist_doc_DATA = c.pdf
|
@ -0,0 +1,11 @@
|
||||
# Process this file with autoconf to produce a configure script: |
||||
# autoreconf -vi |
||||
# Public domain. Originally written by Ineiev, 2023. |
||||
AC_INIT([GNU C Intro And Reference], [0.0-rc4], [c-manual@gnu.org], |
||||
[c-intro-and-ref], [https://www.gnu.org/software/c-intro-and-ref/]) |
||||
|
||||
AC_PREREQ([2.65]) |
||||
AC_CONFIG_SRCDIR([c.texi]) |
||||
AM_INIT_AUTOMAKE([1.11]) |
||||
AC_CONFIG_FILES([Makefile]) |
||||
AC_OUTPUT |
Loading…
Reference in new issue