1 ###/* This file is part of
2 ###* ======================================================
4 ###* LyX, the High Level Word Processor
6 ###* Copyright 1995 Matthias Ettrich
7 ###* Copyright 1995-2000 The LyX Team
9 ###*======================================================*/
12 ### Makefile by Lars Gullik Bjønnes (larsbj@ifi.uio.no)
13 ### Modified by Allan Rae <rae@lyx.org>
22 SRCS := form_citation.fd \
35 OBJS := $(SRCS:.fd=.c)
37 COBJS := $(SRCS:.fd=.C)
40 @echo "This is a makefile intended for the maintainer only."
41 @echo "Only run it if you are absolutely sure about what you"
49 # Modify the header files using the instructions in fdfixh.sed
51 @echo "Modifying header files using the instructions in fdfixh.sed";\
52 for hfil in *.h ; do \
53 if [ -f "$$hfil.patch" ] ; then \
54 (echo "Patching $$hfil with $$hfil.patch" ; \
55 patch -s $$hfil < $$hfil.patch) \
57 sed -f fdfixh.sed < $$hfil > $$hfil.tmp; \
58 mv $$hfil.tmp $$hfil; \
64 $(FDESIGN) -convert $<
67 ${SHELL} ./fdfix.sh $< $@
69 @if [ -f "$@.patch" ] ; then \
70 (echo "Patching $@ with $@.patch" ; \
71 patch -s $@ < $@.patch) \
80 install: clean updatesrc