mirror of https://github.com/MidnightCommander/mc
1999-07-12 Kjartan Maraas <kmaraas@online>
* Makefile.in: Small changes to actually make the helpfile get installed and work.
This commit is contained in:
parent
8264e677af
commit
b3ba23d3d5
|
@ -1,3 +1,4 @@
|
|||
Makefile
|
||||
gmc
|
||||
gmc.junk
|
||||
gmc.html
|
||||
|
|
|
@ -179,7 +179,7 @@ vcs = @vcs@
|
|||
|
||||
gmc_helpdir = $(datadir)/gnome/help/gmc/C
|
||||
|
||||
gmc_help_DATA = gmc.html topic.dat
|
||||
gmc_help_DATA = index.html gmc.html topic.dat
|
||||
|
||||
|
||||
SGML_FILES = gmc.sgml
|
||||
|
@ -341,7 +341,8 @@ all:
|
|||
|
||||
gmc.html: gmc/gmc.html
|
||||
-cp gmc/gmc.html .
|
||||
|
||||
-ln -s gmc.html index.html
|
||||
|
||||
gmc/gmc.html: $(SGML_FILES)
|
||||
-db2html gmc.sgml
|
||||
|
||||
|
@ -349,17 +350,17 @@ dist-hook:
|
|||
mkdir $(distdir)/gmc
|
||||
-cp gmc/*.html gmc/*.css $(distdir)/gmc
|
||||
-cp gmc.html $(distdir)
|
||||
mkdir $(distdir)/images
|
||||
-cp images/*.gif images/*.jpg $(distdir)/images
|
||||
mkdir $(distdir)/figs
|
||||
-cp figs/*.gif figs/*.jpg $(distdir)/figs
|
||||
|
||||
install-data-local: gmc.html
|
||||
$(mkinstalldirs) $(gmc_helpdir)/images
|
||||
$(mkinstalldirs) $(gmc_helpdir)/figs
|
||||
-for file in $(srcdir)/gmc/*.html $(srcdir)/gmc/*.css; do \
|
||||
basefile=`basename $$file`; \
|
||||
$(INSTALL_DATA) $(srcdir)/$$file $(gmc_helpdir)/$$basefile; \
|
||||
done
|
||||
-for file in $(srcdir)/images/*.jpg $(srcdir)/images/*.gif; do \
|
||||
$(INSTALL_DATA) $(srcdir)/$$file $(gmc_helpdir)/images;\
|
||||
-for file in $(srcdir)/figs/*.jpg $(srcdir)/figs/*.gif; do \
|
||||
$(INSTALL_DATA) $(srcdir)/$$file $(gmc_helpdir)/figs;\
|
||||
done
|
||||
|
||||
gmc.ps: gmc.sgml
|
||||
|
|
Loading…
Reference in New Issue