rename the generated package.C to Package.cpp, as it should. You may have to rebuild all, at least in support (but you are used to it, now....)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19431 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2007-08-11 18:35:13 +00:00
parent da1c04ea9a
commit 55d7d1cfeb

View File

@ -10,7 +10,7 @@ pkglib_LTLIBRARIES = liblyxsupport.la
liblyxsupport_la_LIBADD = $(LIBSHLWAPI) $(QT4_CORE_LIB) $(BOOST_SIGNALS) liblyxsupport_la_LIBADD = $(LIBSHLWAPI) $(QT4_CORE_LIB) $(BOOST_SIGNALS)
liblyxsupport_la_LDFLAGS = $(QT4_CORE_LDFLAGS) liblyxsupport_la_LDFLAGS = $(QT4_CORE_LDFLAGS)
BUILT_SOURCES = $(PCH_FILE) package.C BUILT_SOURCES = $(PCH_FILE) Package.cpp
AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES) AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)
AM_CPPFLAGS += $(QT4_CPPFLAGS) $(QT4_CORE_INCLUDES) AM_CPPFLAGS += $(QT4_CPPFLAGS) $(QT4_CORE_INCLUDES)
@ -66,7 +66,7 @@ liblyxsupport_la_SOURCES = \
os.h \ os.h \
Path.cpp \ Path.cpp \
Path.h \ Path.h \
package.C \ Package.cpp \
Package.h \ Package.h \
qstring_helpers.cpp \ qstring_helpers.cpp \
qstring_helpers.h \ qstring_helpers.h \
@ -89,7 +89,7 @@ liblyxsupport_la_SOURCES = \
unlink.cpp unlink.cpp
package.C: build_package Package.cpp: build_package
# Solaris sed does not like spaces bewteen the ;-delimited commands # Solaris sed does not like spaces bewteen the ;-delimited commands
build_package: Package.cpp.in build_package: Package.cpp.in
@ -99,11 +99,11 @@ s,@LOCALEDIR@,$(LYX_ABS_INSTALLED_LOCALEDIR),;\
s,@TOP_SRCDIR@,$(LYX_ABS_TOP_SRCDIR),;\ s,@TOP_SRCDIR@,$(LYX_ABS_TOP_SRCDIR),;\
s,@PROGRAM_SUFFIX@,$(program_suffix)," \ s,@PROGRAM_SUFFIX@,$(program_suffix)," \
$(srcdir)/Package.cpp.in > tmp_package ;\ $(srcdir)/Package.cpp.in > tmp_package ;\
if cmp -s tmp_package package.C ; then \ if cmp -s tmp_package Package.cpp ; then \
rm -f tmp_package ;\ rm -f tmp_package ;\
else \ else \
rm -f package.C ;\ rm -f Package.cpp ;\
mv tmp_package package.C ;\ mv tmp_package Package.cpp ;\
fi fi