2001-09-07 01:00:42 -07:00
|
|
|
# $Id$
|
|
|
|
|
|
|
|
include ../config/Makefile
|
|
|
|
|
|
|
|
TARGET=camlp4.1
|
|
|
|
|
|
|
|
all: $(TARGET)
|
|
|
|
|
|
|
|
clean::
|
|
|
|
rm -f $(TARGET)
|
|
|
|
|
|
|
|
depend:
|
|
|
|
|
|
|
|
get_promote:
|
|
|
|
|
|
|
|
install:
|
2002-07-19 07:53:56 -07:00
|
|
|
-$(MKDIR) $(MANDIR)/man1
|
|
|
|
-cp $(TARGET) $(MANDIR)/man1/.
|
|
|
|
-cd $(MANDIR)/man1; rm -f camlp4o.1; ln -s $(TARGET) camlp4o.1
|
|
|
|
-cd $(MANDIR)/man1; rm -f camlp4r.1; ln -s $(TARGET) camlp4r.1
|
|
|
|
-cd $(MANDIR)/man1; rm -f mkcamlp4.1; ln -s $(TARGET) mkcamlp4.1
|
|
|
|
-cd $(MANDIR)/man1; rm -f ocpp.1; ln -s $(TARGET) ocpp.1
|
|
|
|
-cd $(MANDIR)/man1; rm -f camlp4o.opt.1; ln -s $(TARGET) camlp4o.opt.1
|
|
|
|
-cd $(MANDIR)/man1; rm -f camlp4r.opt.1; ln -s $(TARGET) camlp4r.opt.1
|
2001-09-07 01:00:42 -07:00
|
|
|
|
|
|
|
camlp4.1: camlp4.1.tpl
|
|
|
|
sed -e "s'LIBDIR'$(LIBDIR)'g" camlp4.1.tpl > camlp4.1
|