2000-06-12 11:55:12 +00:00
|
|
|
|
###/* This file is part of
|
|
|
|
|
###* ======================================================
|
|
|
|
|
###*
|
|
|
|
|
###* LyX, the High Level Word Processor
|
|
|
|
|
###*
|
|
|
|
|
###* Copyright 1995 Matthias Ettrich
|
|
|
|
|
###* Copyright 1995-2000 The LyX Team
|
|
|
|
|
###*
|
|
|
|
|
###*======================================================*/
|
|
|
|
|
###
|
|
|
|
|
###
|
2000-09-26 13:54:57 +00:00
|
|
|
|
### Makefile by Lars Gullik Bj<42>nnes (larsbj@lyx.org)
|
2000-06-12 11:55:12 +00:00
|
|
|
|
### Modified by Allan Rae <rae@lyx.org>
|
2000-08-14 05:24:35 +00:00
|
|
|
|
### Rewritten by Angus Leeming.
|
2000-09-26 13:54:57 +00:00
|
|
|
|
### Only update files that really have changed. (Lgb 20000924))
|
2000-06-12 11:55:12 +00:00
|
|
|
|
|
|
|
|
|
SHELL = /bin/sh
|
|
|
|
|
.SUFFIXES: .fd .c
|
|
|
|
|
|
|
|
|
|
# Various commands
|
|
|
|
|
FDESIGN = fdesign
|
|
|
|
|
|
2000-07-07 07:46:37 +00:00
|
|
|
|
SRCS := form_citation.fd \
|
|
|
|
|
form_copyright.fd \
|
2000-08-11 14:42:20 +00:00
|
|
|
|
form_document.fd \
|
2000-09-22 15:09:51 +00:00
|
|
|
|
form_error.fd \
|
2000-08-08 13:55:26 +00:00
|
|
|
|
form_graphics.fd \
|
2000-08-03 12:56:25 +00:00
|
|
|
|
form_index.fd \
|
2000-09-25 15:59:27 +00:00
|
|
|
|
form_paragraph.fd \
|
2000-06-12 11:55:12 +00:00
|
|
|
|
form_preferences.fd \
|
2000-07-11 15:08:54 +00:00
|
|
|
|
form_print.fd \
|
2000-08-08 13:55:26 +00:00
|
|
|
|
form_ref.fd \
|
2000-07-27 08:55:59 +00:00
|
|
|
|
form_tabular.fd \
|
2000-08-01 17:33:32 +00:00
|
|
|
|
form_toc.fd \
|
2000-07-27 08:55:59 +00:00
|
|
|
|
form_url.fd
|
2000-06-12 11:55:12 +00:00
|
|
|
|
|
2000-08-14 05:24:35 +00:00
|
|
|
|
OBJS := $(SRCS:.fd=.C)
|
2000-06-12 11:55:12 +00:00
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
@echo "This is a makefile intended for the maintainer only."
|
|
|
|
|
@echo "Only run it if you are absolutely sure about what you"
|
|
|
|
|
@echo "are doing."
|
|
|
|
|
|
2000-08-14 05:24:35 +00:00
|
|
|
|
test: clean $(OBJS)
|
2000-06-12 11:55:12 +00:00
|
|
|
|
|
2000-08-14 05:24:35 +00:00
|
|
|
|
updatesrc: test
|
2000-09-27 05:40:29 +00:00
|
|
|
|
for fil in *.C *.h; \
|
|
|
|
|
do cmp -s $$fil ../$$fil || mv $$fil ..; \
|
2000-09-26 13:54:57 +00:00
|
|
|
|
done
|
2000-06-12 11:55:12 +00:00
|
|
|
|
|
2000-08-14 05:24:35 +00:00
|
|
|
|
.fd.C:
|
|
|
|
|
${SHELL} ./fdfix.sh $<
|
2000-06-12 11:55:12 +00:00
|
|
|
|
|
|
|
|
|
clean:
|
2000-09-27 05:40:29 +00:00
|
|
|
|
rm -f *.[hHcC] *.bak
|
2000-06-12 11:55:12 +00:00
|
|
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
|
rm -f *.orig *.rej *~
|