mirror of
https://github.com/gnustep/tools-make.git
synced 2025-05-31 09:21:19 +00:00
only attempt to move html if we find the table of contents in the subdirectory
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@37548 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2c44a70ae8
commit
3de345136f
1 changed files with 8 additions and 3 deletions
|
@ -92,10 +92,15 @@ $(GNUSTEP_INSTANCE).pdf: $(TEXI_FILES)
|
|||
# so after running it we try to move any from the subdirectory to
|
||||
# where they are expected.
|
||||
$(GNUSTEP_INSTANCE).html: $(TEXI_FILES)
|
||||
-$(GNUSTEP_TEXI2HTML) $(GNUSTEP_TEXI2HTML_FLAGS) $(ADDITIONAL_TEXI2HTML_FLAGS) \
|
||||
-$(GNUSTEP_TEXI2HTML) \
|
||||
$(GNUSTEP_TEXI2HTML_FLAGS) $(ADDITIONAL_TEXI2HTML_FLAGS) \
|
||||
$(GNUSTEP_INSTANCE).texi; \
|
||||
mv $(GNUSTEP_INSTANCE)/$(GNUSTEP_INSTANCE).html .; \
|
||||
mv $(GNUSTEP_INSTANCE)/$(GNUSTEP_INSTANCE)_*.html .
|
||||
if [ -f $(GNUSTEP_INSTANCE)/$(GNUSTEP_INSTANCE)_toc.html ]; \
|
||||
then \
|
||||
mv $(GNUSTEP_INSTANCE)/$(GNUSTEP_INSTANCE).html .; \
|
||||
mv $(GNUSTEP_INSTANCE)/$(GNUSTEP_INSTANCE)_*.html .; \
|
||||
rmdir $(GNUSTEP_INSTANCE)/$(GNUSTEP_INSTANCE); \
|
||||
fi
|
||||
|
||||
$(GNUSTEP_INSTANCE): $(TEXI_FILES) $(TEXT_MAIN)
|
||||
-$(GNUSTEP_MAKETEXT) $(GNUSTEP_MAKETEXT_FLAGS) $(ADDITIONAL_MAKETEXT_FLAGS) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue