mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 17:45:07 -05:00
Use texi2html to generate html
This commit is contained in:
11
Makefile.in
11
Makefile.in
@@ -79,7 +79,7 @@ distclean : clean
|
|||||||
-rm -f Makefile
|
-rm -f Makefile
|
||||||
|
|
||||||
clean :
|
clean :
|
||||||
-rm -f *.o *.s chronyc chronyd core *~
|
-rm -f *.o *.s chronyc chronyd core *~ chrony.info chrony.html chrony.txt
|
||||||
-rm -rf .deps
|
-rm -rf .deps
|
||||||
|
|
||||||
getdate.c : ;
|
getdate.c : ;
|
||||||
@@ -124,9 +124,6 @@ install: chronyd chronyc
|
|||||||
%.s : %.c
|
%.s : %.c
|
||||||
$(CC) $(CFLAGS) $(CPPFLAGS) -S $<
|
$(CC) $(CFLAGS) $(CPPFLAGS) -S $<
|
||||||
|
|
||||||
# makeinfo v4 required to generate plain text and html
|
|
||||||
MAKEINFO:=makeinfo
|
|
||||||
|
|
||||||
install-docs : docs
|
install-docs : docs
|
||||||
[ -d $(DESTDIR)$(DOCDIR) ] || mkdir -p $(DESTDIR)$(DOCDIR)
|
[ -d $(DESTDIR)$(DOCDIR) ] || mkdir -p $(DESTDIR)$(DOCDIR)
|
||||||
cp chrony.txt $(DESTDIR)$(DOCDIR)/chrony.txt
|
cp chrony.txt $(DESTDIR)$(DOCDIR)/chrony.txt
|
||||||
@@ -140,13 +137,13 @@ install-docs : docs
|
|||||||
docs : chrony.txt chrony.html chrony.info
|
docs : chrony.txt chrony.html chrony.info
|
||||||
|
|
||||||
chrony.txt : chrony.texi
|
chrony.txt : chrony.texi
|
||||||
$(MAKEINFO) --no-headers --number-sections -o chrony.txt chrony.texi
|
makeinfo --no-headers --number-sections -o chrony.txt chrony.texi
|
||||||
|
|
||||||
chrony.html : chrony.texi
|
chrony.html : chrony.texi
|
||||||
$(MAKEINFO) --no-split --html --number-sections -o chrony.html chrony.texi
|
texi2html chrony.texi
|
||||||
|
|
||||||
chrony.info : chrony.texi
|
chrony.info : chrony.texi
|
||||||
$(MAKEINFO) chrony.texi
|
makeinfo chrony.texi
|
||||||
|
|
||||||
# This is only relevant if you're maintaining the website!
|
# This is only relevant if you're maintaining the website!
|
||||||
faq.php : faq.txt faqgen.pl
|
faq.php : faq.txt faqgen.pl
|
||||||
|
|||||||
Reference in New Issue
Block a user