From bb0f839aeda4f3ed3b773b6d54d10a333420cbb5 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 9 Aug 1998 16:25:10 +0000 Subject: [PATCH] lilypond-1.0.1 --- intl/Makefile | 48 ++++++++++++++++++++++++++++++++ stepmake/stepmake/Makefile | 23 +++++++++++++++ stepmake/stepmake/Pod_rules.make | 32 +++++++++++++++++++++ 3 files changed, 103 insertions(+) create mode 100644 intl/Makefile create mode 100644 stepmake/stepmake/Makefile create mode 100644 stepmake/stepmake/Pod_rules.make diff --git a/intl/Makefile b/intl/Makefile new file mode 100644 index 0000000000..7679393f40 --- /dev/null +++ b/intl/Makefile @@ -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 index 0000000000..a27042129c --- /dev/null +++ b/stepmake/stepmake/Makefile @@ -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 index 0000000000..dd5b7ccd3d --- /dev/null +++ b/stepmake/stepmake/Pod_rules.make @@ -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) + -- 2.39.5