inweb-bootstrap/Makefile.am

109 lines
3.7 KiB
Makefile
Raw Normal View History

AUTOMAKE_OPTIONS = foreign subdir-objects
.nw.cc:
$(NOTANGLE) -L $< | $(CPIF) $@
.nw.tex:
$(NOWEAVE) $< | $(CPIF) $@
.tex.pdf:
$(PDFLATEX) $< | $(CPIF) $@
.nw.html:
$(NOWEAVE) -html -filter l2h $< | $(CPIF) $@
bin_PROGRAMS = inweb
inweb_files = Preliminaries/How_This_Program_Works.nw \
Chapter_1/Assets_Plugins_and_Colour_Schemes.nw \
Chapter_1/Basics.nw \
Chapter_1/Configuration.nw \
Chapter_1/Patterns.nw \
Chapter_1/Program_Control.nw \
Chapter_1/The_Swarm.nw \
Chapter_2/Enumerated_Constants.nw \
Chapter_2/Line_Categories.nw \
Chapter_2/Paragraph_Macros.nw \
Chapter_2/Paragraph_Numbering.nw \
Chapter_2/Tags.nw \
Chapter_2/The_Parser.nw \
Chapter_2/The_Reader.nw \
Chapter_3/The_Analyser.nw \
Chapter_3/The_Collater.nw \
Chapter_3/The_Tangler.nw \
Chapter_3/The_Weaver.nw \
Chapter_3/The_Weaver_of_Text.nw \
Chapter_4/ACME_Support.nw \
Chapter_4/C-Like_Languages.nw \
Chapter_4/InC_Support.nw \
Chapter_4/Language_Methods.nw \
Chapter_4/Programming_Languages.nw \
Chapter_4/The_Painter.nw \
Chapter_4/Types_and_Functions.nw \
Chapter_5/Debugging_Format.nw \
Chapter_5/Format_Methods.nw \
Chapter_5/HTML_Formats.nw \
Chapter_5/Plain_Text_Format.nw \
Chapter_5/TeX_Format.nw \
Chapter_5/TeX_Utilities.nw \
Chapter_5/Weave_Tree.nw \
Chapter_6/Colonies.nw \
Chapter_6/Ctags_Support.nw \
Chapter_6/Git_Support.nw \
Chapter_6/Makefiles.nw \
Chapter_6/Readme_Writeme.nw
foundation = foundation-module/Preliminaries/A_Brief_Guide_to_Foundation.nw \
foundation-module/Chapter_1/Foundation_Module.nw \
foundation-module/Chapter_1/POSIX_Platforms.nw \
foundation-module/Chapter_2/Debugging_Log.nw \
foundation-module/Chapter_2/Dictionaries.nw \
foundation-module/Chapter_2/Foundation_Classes.nw \
foundation-module/Chapter_2/Linked_Lists_and_Stacks.nw \
foundation-module/Chapter_2/Locales.nw \
foundation-module/Chapter_2/Memory.nw \
foundation-module/Chapter_2/Methods.nw \
foundation-module/Chapter_2/Streams.nw \
foundation-module/Chapter_2/Trees.nw \
foundation-module/Chapter_2/Writers_and_Loggers.nw \
foundation-module/Chapter_3/Case-Insensitive_Filenames.nw \
foundation-module/Chapter_3/Command_Line_Arguments.nw \
foundation-module/Chapter_3/Directories.nw \
foundation-module/Chapter_3/Error_Messages.nw \
foundation-module/Chapter_3/Filenames.nw \
foundation-module/Chapter_3/Pathnames.nw \
foundation-module/Chapter_3/Shell.nw \
foundation-module/Chapter_3/Time.nw \
foundation-module/Chapter_4/Characters.nw \
foundation-module/Chapter_4/C_Strings.nw \
foundation-module/Chapter_4/JSON.nw \
foundation-module/Chapter_4/Pattern_Matching.nw \
foundation-module/Chapter_4/Preprocessor.nw \
foundation-module/Chapter_4/String_Manipulation.nw \
foundation-module/Chapter_4/Text_Files.nw \
foundation-module/Chapter_4/Tries_and_Avinues.nw \
foundation-module/Chapter_4/Wide_Strings.nw \
foundation-module/Chapter_5/Epub_Ebooks.nw \
foundation-module/Chapter_5/HTML.nw \
foundation-module/Chapter_6/Binary_Files.nw \
foundation-module/Chapter_6/Image_Dimensions.nw \
foundation-module/Chapter_6/Sound_Durations.nw \
foundation-module/Chapter_7/Version_Number_Ranges.nw \
foundation-module/Chapter_7/Version_Numbers.nw \
foundation-module/Chapter_8/Bibliographic_Data_for_Webs.nw \
foundation-module/Chapter_8/Build_Files.nw \
foundation-module/Chapter_8/Simple_Tangler.nw \
foundation-module/Chapter_8/Web_Modules.nw \
foundation-module/Chapter_8/Web_Structure.nw
foundation_test_files = foundation-test/Sections/Program_Control.nw \
foundation-test/Sections/Unit_Tests.nw
inweb_SOURCES = $(inweb_files:.nw=.cc)
html: $(inweb_files:.nw=.html) $(foundation:.nw:.html)
pdf: $(inweb_files:.nw=.pdf) $(foundation:.nw:.pdf)