]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.0.1
authorfred <fred>
Sun, 9 Aug 1998 16:25:10 +0000 (16:25 +0000)
committerfred <fred>
Sun, 9 Aug 1998 16:25:10 +0000 (16:25 +0000)
intl/Makefile [new file with mode: 0644]
stepmake/stepmake/Makefile [new file with mode: 0644]
stepmake/stepmake/Pod_rules.make [new file with mode: 0644]

diff --git a/intl/Makefile b/intl/Makefile
new file mode 100644 (file)
index 0000000..7679393
--- /dev/null
@@ -0,0 +1,48 @@
+# intl/Makefile
+
+depth = ..
+
+NAME = intl
+
+include $(depth)/make/Stepmake.make
+include $(stepdir)/C.make
+
+
+# MODULE_CXXFLAGS += -D_REENTRANT
+MAINTARGET = $(LIBRARY)# huh?
+
+SED_FILES = $(wildcard *.sed)
+
+# should be set by configure...
+URG_DEFINES = -DGNULOCALEDIR=\"$(localedir)\" -DLOCALE_ALIAS_PATH=\"$(localedir):\"
+EXTRA_CFLAGS = -I. $(URG_DEFINES)
+
+EXTRA_DIST_FILES = Makefile.in.dist cat-compat.c.dist ChangeLog libintl.inst $(SED_FILES)
+
+default:
+       @echo "to install libintl type 'make lib; make install-lib'"
+
+lib:  $(LIBRARY)
+LIBINTL = $(LIBRARY)
+
+install-lib: $(LIBINTL)
+# localinstall: $(LIBINTL)
+       $(INSTALL) -d $(includedir)
+#      $(INSTALL) libintl.h $(includedir)
+       $(INSTALL) libintl.inst $(includedir)/libintl.h
+ifeq ($(LIB_SUFFIX),.so)
+       $(INSTALL) -d $(libdir)
+       $(INSTALL) $(LIBINTL).$(VERSION) $(libdir)
+       ln -s $(LIB_PREFIX)intl$(LIB_SUFFIX).$(VERSION) $(libdir)/$(LIB_PREFIX)intl$(LIB_SUFFIX).$(MAJOR_VERSION)
+       ln -s $(LIB_PREFIX)intl$(LIB_SUFFIX).$(VERSION) $(libdir)/$(LIB_PREFIX)intl$(LIB_SUFFIX)
+else
+       $(INSTALL) -d $(libdir)
+       echo libintl: $(LIBINTL)
+       echo libdir: $(libdir)
+       $(INSTALL) $(LIBINTL) $(libdir)
+endif
+
+localuninstall:
+       rm -f $(inludedir)/libintl.h
+       rm -f $(libdir)/libintl.{so*,a}
+
diff --git a/stepmake/stepmake/Makefile b/stepmake/stepmake/Makefile
new file mode 100644 (file)
index 0000000..a270421
--- /dev/null
@@ -0,0 +1,23 @@
+# title           makefile for stepmake
+
+# subdir level:
+#
+depth = ..
+#
+
+# descent order into subdirectories:
+#
+SUBDIRS =
+#
+
+# bootstrap stepmake:
+#
+-include $(depth)/make/Stepmake.make 
+#
+
+# gory hack: stepmake itself is a stepmake package.
+default:
+       rm -f stepmake
+       ln -s ../stepmake .
+       rm -f bin
+       ln -s ../bin .
diff --git a/stepmake/stepmake/Pod_rules.make b/stepmake/stepmake/Pod_rules.make
new file mode 100644 (file)
index 0000000..dd5b7cc
--- /dev/null
@@ -0,0 +1,32 @@
+# Pod_rules.make
+
+.SUFFIXES: .1 .5 .html .pod .txt
+
+pod2html=pod2html
+pod2groff=pod2man --center="$(PACKAGE_NAME) documentation" --section="0"\
+       --release="$(PACKAGE_NAME) $(VERSION)" $< > $@
+
+
+# perl 5.003/4
+POD2HTML_5003=$(POD2HTML) $< ; mv $(notdir $@) $(outdir)/ || true
+# urg, broken.  if you must have perl 5004, better install pod2html from 5003
+POD2HTML_5004=$(POD2HTML) --noindex --infile $< --outfile=$@;  sh $(depth)/bin/add-URLs.sh $@
+
+do_pod2html=$($(POD2HTML_VERSION))
+
+$(outdir)/%.html: $(outdir)/%.pod $(depth)/VERSION
+       $(do_pod2html) 
+       $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index $(depth)/../index.html $@
+
+$(outdir)/%.pod: %.pod
+       cp $< $@
+
+$(outdir)/%.5: %.pod
+       $(pod2groff)
+
+$(outdir)/%.1: %.pod
+       $(pod2groff)
+
+$(outdir)/%.1: $(outdir)/%.pod
+       -$(pod2groff)
+