1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158
|
# These files are always required due to `make dist` needing them.
STATIC_FILES = \
amigaos.html \
android.html \
beos.html \
darwin.html \
favicon.ico \
index.html \
latofonts.css \
macosx.html \
nsosrh.html \
qnx.html \
robots.txt \
sco.html \
sitemap.xml \
solaris.html \
sortix.html \
unix.html \
vice.css \
windows.html
FONTS_FILES = \
fonts/Lato-Bold.eot \
fonts/Lato-Bold.ttf \
fonts/Lato-Bold.woff \
fonts/Lato-Bold.woff2 \
fonts/Lato-BoldItalic.eot \
fonts/Lato-BoldItalic.ttf \
fonts/Lato-BoldItalic.woff \
fonts/Lato-BoldItalic.woff2 \
fonts/Lato-Italic.eot \
fonts/Lato-Italic.ttf \
fonts/Lato-Italic.woff \
fonts/Lato-Italic.woff2 \
fonts/Lato-Regular.eot \
fonts/Lato-Regular.ttf \
fonts/Lato-Regular.woff \
fonts/Lato-Regular.woff2 \
fonts/OFL.txt
# Sorted in the order of `LC_ALL=C ls -1 *.png`, makes it easier to spot
# missing files.
IMAGES_FILES = \
images/CIPS2008.png \
images/c116-layout.png \
images/c128-layout.png \
images/c16-layout.png \
images/c64-layout.png \
images/cbm2-layout.png \
images/new.gif \
images/pet-business-uk-layout.png \
images/pet-chiclet-layout.png \
images/pet-graphical-layout.png \
images/plus4-layout.png \
images/vice-c128-positional-keymap-de.png \
images/vice-c128-positional-keymap-us.png \
images/vice-c128-symbolic-keymap-de.png \
images/vice-c128-symbolic-keymap-us.png \
images/vice-c64-positional-keymap-de.png \
images/vice-c64-positional-keymap-us.png \
images/vice-c64-symbolic-keymap-de.png \
images/vice-c64-symbolic-keymap-us.png \
images/vice-cbm2-positional-keymap-de.png \
images/vice-cbm2-positional-keymap-us.png \
images/vice-cbm2-symbolic-keymap-de.png \
images/vice-cbm2-symbolic-keymap-us.png \
images/vice-logo-black.png \
images/vice-logo.svg \
images/vice-pet-business-uk-positional-keymap-de.png \
images/vice-pet-business-uk-positional-keymap-us.png \
images/vice-pet-business-uk-symbolic-keymap-de.png \
images/vice-pet-business-uk-symbolic-keymap-us.png \
images/vice-pet-graphical-positional-keymap-de.png \
images/vice-pet-graphical-positional-keymap-us.png \
images/vice-pet-graphical-symbolic-keymap-de.png \
images/vice-pet-graphical-symbolic-keymap-us.png \
images/vice-plus4-positional-keymap-de.png \
images/vice-plus4-positional-keymap-us.png \
images/vice-plus4-symbolic-keymap-de.png \
images/vice-plus4-symbolic-keymap-us.png
EXTRA_DIST = \
checklinks.sh \
texi2html \
$(STATIC_FILES) \
$(FONTS_FILES) \
$(IMAGES_FILES)
htmldir = $(VICE_DOCDIR)/html
fontsdir = $(htmldir)/fonts
imagesdir = $(htmldir)/images
if ENABLE_HTML_DOCS
GEN_HTML := \
vice_foot.html \
vice_toc.html \
$(patsubst %,vice_%.html,$(shell seq 23))
TEXT_FILES = \
COPYING \
NEWS
HTML_FILES = \
$(TEXT_FILES) \
$(STATIC_FILES)
if HAVE_PERL
HTML_FILES += \
$(GEN_HTML)
endif
COPIED_FILES = $(if $(subst x.x,,x$(srcdir)x),$(STATIC_FILES) $(FONTS_FILES) $(IMAGES_FILES))
CLEANFILES = \
vice_*.html \
$(TEXT_FILES) \
$(COPIED_FILES)
noinst_DATA = \
$(HTML_FILES) \
$(FONTS_FILES) \
$(IMAGES_FILES)
# It's awkward to make the following multi-output rule work properly
# in parallel but it's the only intensive rule anyway so just
# serialize the whole Makefile. See the Automake manual for details.
# https://www.gnu.org/software/automake/manual/automake.html#Multiple-Outputs
.NOTPARALLEL:
if HAVE_PERL
vice.texi: $(top_srcdir)/doc/vice.texi $(srcdir)/texi2html
@cp $(top_srcdir)/doc/vice.texi vice.texi
@$(top_srcdir)/doc/fixdates.sh vice.texi `grep "VICEDATE_YEAR " $(top_srcdir)/src/vicedate.h | cut -d " " -f 3`
$(GEN_HTML): vice.texi $(srcdir)/texi2html
@echo "generating html documentation..."
$(PERL) "$(srcdir)"/texi2html -I "$(srcdir)"/.. -number -split_chapter -D$(PLATFORM_DOX_FLAGS) "$<"
endif
$(TEXT_FILES): %: $(top_srcdir)/%
cp "$<" "$@"
fonts images:
mkdir -p "$@"
$(COPIED_FILES): %: $(srcdir)/% | fonts images
cp "$<" "$@"
endif
|