[project @ 2001-11-09 21:25:56 by sof]
[ghc-hetmet.git] / mk / target.mk
index 611a543..0ad9587 100644 (file)
@@ -388,7 +388,6 @@ endif
 
 ifeq "$(IS_CBITS_LIB)" "YES"
 override datadir:=$(libdir)/include
-INSTALL_DATAS += Hs$(shell perl -e 'print ucfirst "$(PACKAGE)"').h
 else
 SRC_CC_OPTS += -Icbits
 endif
@@ -974,10 +973,10 @@ ifneq "$(SGMLDocWays)" ""
 install-docs:: $(foreach i,$(SGMLDocWays),$(INSTALL_SGML_DOC).$i)
        @$(INSTALL_DIR) $(datadir)      
        for i in $(SGMLDocWays); do \
-               if [ $$j = "html" ]; then \
+               if [ $$i = "html" ]; then \
                        $(CP) -r $(INSTALL_SGML_DOC) $(datadir); \
                else \
-                       $(INSTALL_DATA) $(INSTALL_OPTS) $(INSTALL_SGML_DOC).$$j $(datadir); \
+                       $(INSTALL_DATA) $(INSTALL_OPTS) $(INSTALL_SGML_DOC).$$i $(datadir); \
                fi \
        done
 endif