"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Makefile.in" between
TeXmacs-1.99.4-src.tar.gz and TeXmacs-1.99.5-src.tar.gz

About: GNU TeXmacs is a what-you-see-is-what-you-get scientific text editor, which was both inspired by TeX and GNU Emacs.

Makefile.in  (TeXmacs-1.99.4-src):Makefile.in  (TeXmacs-1.99.5-src)
############################################################################### ###############################################################################
# MODULE : main TeXmacs make file # MODULE : main TeXmacs make file
# COPYRIGHT : (C) 1999-2008 Joris van der Hoeven # COPYRIGHT : (C) 1999-2008 Joris van der Hoeven
# : 2015 Denis Raux
############################################################################### ###############################################################################
# This software falls under the GNU general public license version 3 or later. # This software falls under the GNU general public license version 3 or later.
# It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE # It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
# in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>. # in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
############################################################################### ###############################################################################
SHELL=/bin/bash
prefix = @prefix@ prefix = @prefix@
exec_prefix = @exec_prefix@ exec_prefix = @exec_prefix@
includedir = @includedir@ includedir = @includedir@
libdir = @libdir@ libdir = @libdir@
bindir = @bindir@ bindir = @bindir@
datarootdir = @datarootdir@ datarootdir = @datarootdir@
datadir = @datadir@ datadir = @datadir@
mandir = @mandir@ mandir = @mandir@
tmdir = @tmdir@ tmdir = @tmdir@
tmbin = @tmbin@ tmbin = @tmbin@
skipping to change at line 42 skipping to change at line 43
tm_suffix = @CONFIG_OS_SUFFIX@ tm_suffix = @CONFIG_OS_SUFFIX@
so = @CONFIG_SO@ so = @CONFIG_SO@
DESTDIR = DESTDIR =
MKDIR = mkdir -p MKDIR = mkdir -p
RM = rm -f RM = rm -f
CP = cp -r -f CP = cp -r -f
MV = mv -f MV = mv -f
LN = ln -f LN = ln -f
CHMOD = @CONFIG_CHMOD@ CHMOD = chmod
GZIP = gzip -f GZIP = gzip -f
STRIP = @CONFIG_STRIP@ STRIP = @CONFIG_STRIP@
TOUCH = touch TOUCH = touch
SIGN = misc/admin/sign_update SIGN = misc/admin/sign_update
.NOTPARALLEL: .NOTPARALLEL:
############################################################################### ###############################################################################
# Main makes # Main makes
############################################################################### ###############################################################################
TEXMACS: EMPTY_DIRS TEXMACS: EMPTY_DIRS
cd src; $(MAKE) -r -f makefile link=shared cd src &&; $(MAKE) -r -f makefile link=shared
$(MAKE) -f Makefile PLUGINS $(MAKE) -f Makefile PLUGINS
$(MAKE) -f Makefile EX_PLUGINS $(MAKE) -f Makefile EX_PLUGINS
$(CP) misc/scripts/fig2ps $(tmdir)/bin $(CP) misc/scripts/fig2ps $(tmdir)/bin
$(CP) misc/scripts/texmacs $(tmdir)/bin $(CP) misc/scripts/texmacs $(tmdir)/bin
$(CP) misc/scripts/tm_gs $(tmdir)/bin $(CP) misc/scripts/tm_gs $(tmdir)/bin
$(CHMOD) 755 $(tmdir)/bin/* $(CHMOD) 755 $(tmdir)/bin/*
$(CHMOD) 755 plugins/*/bin/* $(CHMOD) 755 plugins/*/bin/*
$(RM) -r $(tmdir)/plugins $(RM) -r $(tmdir)/plugins
$(CP) plugins $(tmdir)/plugins $(CP) plugins $(tmdir)/plugins
@echo ---------------------------------------------------- @echo ----------------------------------------------------
@echo dynamic TeXmacs has been successfully compiled @echo TeXmacs has been successfully compiled
STATIC_TEXMACS: EMPTY_DIRS STATIC_TEXMACS: EMPTY_DIRS
cd src; $(MAKE) -r -f makefile link=static CFLAGS=-D__TMSTATIC__ cd src; $(MAKE) -r -f makefile link=static CFLAGS=-D__TMSTATIC__
$(MAKE) -f Makefile PLUGINS $(MAKE) -f Makefile PLUGINS
$(MAKE) -f Makefile EX_PLUGINS $(MAKE) -f Makefile EX_PLUGINS
$(CP) misc/scripts/fig2ps $(tmdir)/bin $(CP) misc/scripts/fig2ps $(tmdir)/bin
$(CP) misc/scripts/texmacs $(tmdir)/bin $(CP) misc/scripts/texmacs $(tmdir)/bin
$(CP) misc/scripts/tm_gs $(tmdir)/bin $(CP) misc/scripts/tm_gs $(tmdir)/bin
$(CHMOD) 755 $(tmdir)/bin/* $(CHMOD) 755 $(tmdir)/bin/*
$(CHMOD) 755 plugins/*/bin/* $(CHMOD) 755 plugins/*/bin/*
skipping to change at line 274 skipping to change at line 275
$(MKDIR) ../distr/build $(MKDIR) ../distr/build
$(MKDIR) $(BUILD_DIR) $(MKDIR) $(BUILD_DIR)
$(CP) -p * $(BUILD_DIR)/. $(CP) -p * $(BUILD_DIR)/.
cd $(BUILD_DIR); make ACCESS_FLAGS cd $(BUILD_DIR); make ACCESS_FLAGS
cd $(BUILD_DIR); make DISTR_CLEAN cd $(BUILD_DIR); make DISTR_CLEAN
COPY_SOURCES_TGZ: COPY_SOURCES COPY_SOURCES_TGZ: COPY_SOURCES
cd ../distr/build; tar -czf $(tm_devel).tar.gz $(tm_devel) cd ../distr/build; tar -czf $(tm_devel).tar.gz $(tm_devel)
COPY_GUILE: COPY_GUILE:
GUILE_DATA_PATH=`guile-config info pkgdatadir`; \ cp -R @GUILE_DATA_PATH@/ice-9 $(BUILD_DIR)/TeXmacs/progs
export GUILE_DATA_PATH; \
GUILE_LOAD_PATH=`find $$GUILE_DATA_PATH -type d | grep ice-9`; \
export GUILE_LOAD_PATH; \
for I in $$GUILE_LOAD_PATH ; \
do $(CP) $$I $(BUILD_DIR)/TeXmacs/progs/ ; done
$(CHMOD) -R go=rX $(BUILD_DIR)/TeXmacs/progs/ice-9 $(CHMOD) -R go=rX $(BUILD_DIR)/TeXmacs/progs/ice-9
############################################################################### ###############################################################################
# Make a source package # Make a source package
############################################################################### ###############################################################################
SRC_PACKAGE_DIR = ../distr/source SRC_PACKAGE_DIR = ../distr/source
SRC_PACKAGE: COPY_SOURCES SRC_PACKAGE: COPY_SOURCES
$(MV) $(BUILD_DIR) ../distr/build/$(tm_devel)-src $(MV) $(BUILD_DIR) ../distr/build/$(tm_devel)-src
cd ../distr/build; tar -czf $(tm_devel)-src.tar.gz $(tm_devel)-src cd ../distr/build; tar -czf $(tm_devel)-src.tar.gz $(tm_devel)-src
$(MKDIR) $(SRC_PACKAGE_DIR) $(MKDIR) $(SRC_PACKAGE_DIR)
$(MV) ../distr/build/$(tm_devel)-src.tar.gz $(SRC_PACKAGE_DIR)/. $(MV) ../distr/build/$(tm_devel)-src.tar.gz $(SRC_PACKAGE_DIR)/.
$(RM) -r ../distr/build $(RM) -r ../distr/build
.PHONY: SRC_PACKAGE .PHONY: SRC_PACKAGE
############################################################################### ###############################################################################
# Make generic static binary packages # Make generic static binary packages
############################################################################### ###############################################################################
ifeq (@CONFIG_OS@,LINUX)
GENERIC_PACKAGE_DIR = ../distr/generic GENERIC_PACKAGE_DIR = ../distr/generic
STATIC_QT = $(tm_devel)-$(svnrev)-$(tm_suffix) PGKNAME = $(tm_devel)-@CONFIG_GUI@-$(svnrev)-$(tm_suffix)
STATIC_X11 = $(tm_devel)-x11-$(tm_suffix)
$(info INFO tmdir : $(PKGNAME))
BUNDLE GENERIC_BUNDLE: TEXMACS
-test -L "$(tmdir)/progs/ice-9" && rm "$(tmdir)/progs/ice-9"
ln -s "@GUILE_DATA_PATH@/ice-9" "$(tmdir)/progs"
GENERIC_PACKAGE: STATIC_TEXMACS STRIP PACKAGE GENERIC_PACKAGE: BUNDLE STRIP
$(MKDIR) $(GENERIC_PACKAGE_DIR) $(MKDIR) $(GENERIC_PACKAGE_DIR)
-find `guile-config info pkgdatadir` -type d -name ice-9 -exec ln -s {} $ ln -s $(tmdir) $(PGKNAME)
(tmdir)/progs \; && \ tar -czhf $(GENERIC_PACKAGE_DIR)/$(PGKNAME).tar.gz $(PGKNAME) --exclude .
ln -s $(tmdir) $(STATIC_QT) && \ svn --mode go=rX
tar -czhf $(GENERIC_PACKAGE_DIR)/$(STATIC_QT)-@CONFIG_STYPE@.tar.gz $( $(RM) $(tmdir)/progs/ice-9 $(PGKNAME)
STATIC_QT) --exclude .svn --mode go=rX
$(RM) $(tmdir)/progs/ice-9 $(STATIC_QT)
GENERIC_X11_PACKAGE: COPY_SOURCES COPY_GUILE GENERIC_X11_PACKAGE: COPY_SOURCES COPY_GUILE
cd $(BUILD_DIR); ./configure --disable-qt --disable-pdf-renderer cd $(BUILD_DIR); ./configure --disable-qt --disable-pdf-renderer
cd $(BUILD_DIR); make STATIC_TEXMACS cd $(BUILD_DIR); make STATIC_TEXMACS
cd $(BUILD_DIR); make ACCESS_FLAGS cd $(BUILD_DIR); make ACCESS_FLAGS
$(MV) $(BUILD_DIR)/TeXmacs $(BUILD_DIR)/$(STATIC_X11) $(MV) $(BUILD_DIR)/TeXmacs $(BUILD_DIR)/$(STATIC_X11)
cd $(BUILD_DIR); tar -czf $(STATIC_X11).tar.gz $(STATIC_X11) cd $(BUILD_DIR); tar -czf $(STATIC_X11).tar.gz $(STATIC_X11)
$(MKDIR) $(GENERIC_PACKAGE_DIR) $(MKDIR) $(GENERIC_PACKAGE_DIR)
$(MV) $(BUILD_DIR)/$(STATIC_X11).tar.gz $(GENERIC_PACKAGE_DIR) $(MV) $(BUILD_DIR)/$(STATIC_X11).tar.gz $(GENERIC_PACKAGE_DIR)
$(RM) -r ../distr/build $(RM) -r ../distr/build
.PHONY: GENERIC_PACKAGE GENERIC_X11_PACKAGE .PHONY: GENERIC_PACKAGE GENERIC_X11_PACKAGE
endif
############################################################################### ###############################################################################
# Make a CentOs package # Make a CentOs package
############################################################################### ###############################################################################
CENTOS_PACKAGE_SRC = packages/centos CENTOS_PACKAGE_SRC = packages/centos
CENTOS_PACKAGE_DIR = ../distr/centos CENTOS_PACKAGE_DIR = ../distr/centos
CENTOS_PACKAGE: COPY_SOURCES_TGZ CENTOS_PACKAGE: COPY_SOURCES_TGZ
mkdir -p $(HOME)/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} mkdir -p $(HOME)/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
if test ! -f ~/.rpmmacros; then \ if test ! -f ~/.rpmmacros; then \
skipping to change at line 445 skipping to change at line 446
$(CP) $(UBUNTU_PACKAGE_SRC)/* $(BUILD_DIR)/debian $(CP) $(UBUNTU_PACKAGE_SRC)/* $(BUILD_DIR)/debian
cd $(BUILD_DIR); debuild -us -uc cd $(BUILD_DIR); debuild -us -uc
$(CP) -p ../distr/build/*.deb $(UBUNTU_PACKAGE_DIR) $(CP) -p ../distr/build/*.deb $(UBUNTU_PACKAGE_DIR)
$(RM) -r ../distr/build $(RM) -r ../distr/build
.PHONY: UBUNTU_PACKAGE .PHONY: UBUNTU_PACKAGE
############################################################################### ###############################################################################
# Make Mac OS X bundles and diskimages # Make Mac OS X bundles and diskimages
############################################################################### ###############################################################################
ifeq (@CONFIG_OS@,MACOS)
QT_FRAMEWORKS_PATH = @QT_FRAMEWORKS_PATH@ QT_FRAMEWORKS_PATH = @QT_FRAMEWORKS_PATH@
QT_PLUGINS_PATH = @QT_PLUGINS_PATH@ QT_PLUGINS_PATH = @QT_PLUGINS_PATH@
QT_PLUGINS_LIST = @QT_PLUGINS_LIST@ QT_PLUGINS_LIST = @QT_PLUGINS_LIST@
SPARKLE_FRAMEWORK_PATH = @SPARKLE_FRAMEWORK_PATH@ SPARKLE_FRAMEWORK_PATH = @SPARKLE_FRAMEWORK_PATH@
MACOS_PACKAGE_SRC = packages/macos MACOS_PACKAGE_SRC = packages/macos
MACOS_PACKAGE_DIR = ../distr/macos MACOS_PACKAGE_DIR = ../distr/macos
MACOS_PACKAGE_APP = ../distr/$(tm_devel).app MACOS_PACKAGE_APP = ../distr/$(tm_devel).app
MACOS_PACKAGE_DMG = ../distr/$(tm_devel)-r$(svnrev)-os@MACOSX_DEPLOYMENT_TARGET@ .dmg MACOS_PACKAGE_DMG = ../distr/$(tm_devel)-r$(svnrev)@MACOSX_TARGET@.dmg
MACOS_PACKAGE_ZIP = ../distr/$(tm_devel).zip MACOS_PACKAGE_ZIP = ../distr/$(tm_devel).zip
MACOS_PACKAGE_CONTENTS = $(MACOS_PACKAGE_APP)/Contents MACOS_PACKAGE_CONTENTS = $(MACOS_PACKAGE_APP)/Contents
MACOS_PACKAGE_RESOURCES = $(MACOS_PACKAGE_CONTENTS)/Resources MACOS_PACKAGE_RESOURCES = $(MACOS_PACKAGE_CONTENTS)/Resources
MACOS_PACKAGE_TEXMACS = $(MACOS_PACKAGE_RESOURCES)/share/TeXmacs MACOS_PACKAGE_TEXMACS = $(MACOS_PACKAGE_RESOURCES)/share/TeXmacs
MACOS_BUNDLE: TEXMACS BUNDLE MACOS_BUNDLE: TEXMACS
$(MKDIR) ../distr $(MKDIR) ../distr
$(RM) -r $(MACOS_PACKAGE_APP) $(RM) -r $(MACOS_PACKAGE_APP)
$(MKDIR) $(MACOS_PACKAGE_APP) $(MACOS_PACKAGE_CONTENTS) $(MACOS_PACKAGE_R ESOURCES) $(MKDIR) $(MACOS_PACKAGE_APP) $(MACOS_PACKAGE_CONTENTS) $(MACOS_PACKAGE_R ESOURCES)
$(MKDIR) $(MACOS_PACKAGE_CONTENTS)/Frameworks $(MACOS_PACKAGE_CONTENTS)/P $(MKDIR) $(MACOS_PACKAGE_CONTENTS)/{Frameworks,Plugins,MacOS}
lugins \ $(MKDIR) $(MACOS_PACKAGE_RESOURCES)/{lib,share}
$(MACOS_PACKAGE_CONTENTS)/MacOS $(CP) $(MACOS_PACKAGE_SRC)/{Info.plist,PkgInfo} $(MACOS_PACKAGE_CONTENTS)
$(MKDIR) $(MACOS_PACKAGE_RESOURCES)/bin $(MACOS_PACKAGE_RESOURCES)/lib \
$(MACOS_PACKAGE_RESOURCES)/share
$(CP) $(MACOS_PACKAGE_SRC)/Info.plist $(MACOS_PACKAGE_CONTENTS)
$(CP) $(MACOS_PACKAGE_SRC)/PkgInfo $(MACOS_PACKAGE_CONTENTS)
$(CP) TeXmacs/bin/texmacs.bin $(MACOS_PACKAGE_CONTENTS)/MacOS/TeXmacs $(CP) TeXmacs/bin/texmacs.bin $(MACOS_PACKAGE_CONTENTS)/MacOS/TeXmacs
$(CP) $(MACOS_PACKAGE_SRC)/TeXmacs.icns $(MACOS_PACKAGE_RESOURCES) $(CP) $(MACOS_PACKAGE_SRC)/{TeXmacs.icns,TeXmacs-document.icns} \
$(CP) $(MACOS_PACKAGE_SRC)/TeXmacs-document.icns \ src/Plugins/Cocoa/English.lproj misc/admin/texmac
$(MACOS_PACKAGE_RESOURCES) s_updates_dsa_pub.pem \
$(CP) src/Plugins/Cocoa/English.lproj $(MACOS_PACKAGE_RESOURCES) $(MACOS_PACKAGE_RESOURCES)
$(CP) misc/admin/texmacs_updates_dsa_pub.pem $(MACOS_PACKAGE_RESOURCES)
$(CP) TeXmacs $(MACOS_PACKAGE_RESOURCES)/share $(CP) TeXmacs $(MACOS_PACKAGE_RESOURCES)/share
$(RM) $(MACOS_PACKAGE_TEXMACS)/bin/texmacs.bin $(RM) $(MACOS_PACKAGE_TEXMACS)/bin/texmacs.bin
find @GUILE_DATA_PATH@ -type d -name ice-9 -exec cp -R {} $(MACOS_PACKAGE _TEXMACS)/progs/ \; cp -R @GUILE_DATA_PATH@/ice-9 $(MACOS_PACKAGE_TEXMACS)/progs/
$(CHMOD) -R go=rX $(MACOS_PACKAGE_TEXMACS)/progs/ice-9 $(CHMOD) -R go=rX $(MACOS_PACKAGE_TEXMACS)/progs/ice-9
find -d $(MACOS_PACKAGE_TEXMACS) -name .svn -exec rm -rf {} \; find -d $(MACOS_PACKAGE_TEXMACS) -name .svn -exec rm -rf {} \;
if [ -d "@TMREPO@" ]; then \
$(CP) @GS_EXE@ $(MACOS_PACKAGE_CONTENTS)/MacOS; \
$(CP) "@TMREPO@/share/ghostscript" $(MACOS_PACKAGE_RESOURCES)/sha
re; \
fi
@echo Deploying libraries into application bundle. @echo Deploying libraries into application bundle.
QT_PLUGINS_PATH="$(QT_PLUGINS_PATH)" QT_PLUGINS_LIST="$(QT_PLUGINS_LIST)" \ QT_PLUGINS_PATH="$(QT_PLUGINS_PATH)" QT_PLUGINS_LIST="$(QT_PLUGINS_LIST)" \
QT_FRAMEWORKS_PATH="$(QT_FRAMEWORKS_PATH)" \ QT_FRAMEWORKS_PATH="$(QT_FRAMEWORKS_PATH)" \
$(MACOS_PACKAGE_SRC)/bundle-libs.sh $(MACOS_PACKAGE_CONTENTS)/MacOS/TeX macs $(MACOS_PACKAGE_SRC)/bundle-libs.sh $(MACOS_PACKAGE_CONTENTS)/MacOS/TeX macs
@echo ---------------------------------------------------- @echo ----------------------------------------------------
@echo TeXmacs has been bundled in $(MACOS_PACKAGE_APP) @echo TeXmacs has been bundled in $(MACOS_PACKAGE_APP)
MACOS_PACKAGE: MACOS_BUNDLE PACKAGE MACOS_PACKAGE: MACOS_BUNDLE
$(RM) $(MACOS_PACKAGE_DMG) $(RM) $(MACOS_PACKAGE_DMG)
hdiutil create -srcfolder $(MACOS_PACKAGE_APP) $(MACOS_PACKAGE_DMG) hdiutil create -srcfolder $(MACOS_PACKAGE_APP) $(MACOS_PACKAGE_DMG)
$(MKDIR) $(MACOS_PACKAGE_DIR) $(MKDIR) $(MACOS_PACKAGE_DIR)
$(MV) $(MACOS_PACKAGE_DMG) $(MACOS_PACKAGE_DIR) $(MV) $(MACOS_PACKAGE_DMG) $(MACOS_PACKAGE_DIR)
$(RM) -r $(MACOS_PACKAGE_APP) $(RM) -r $(MACOS_PACKAGE_APP)
MACOS_RELEASE: MACOS_BUNDLE MACOS_RELEASE: MACOS_BUNDLE
$(RM) $(MACOS_PACKAGE_ZIP) $(RM) $(MACOS_PACKAGE_ZIP)
(cd ../distr; zip -r9Tq $(tm_devel).zip $(tm_devel).app) (cd ../distr; zip -r9Tq $(tm_devel).zip $(tm_devel).app)
$(SIGN) $(MACOS_PACKAGE_ZIP) $(svnrev) $(tm_devel_version) $(SIGN) $(MACOS_PACKAGE_ZIP) $(svnrev) $(tm_devel_version)
BUNDLE: MACOS_BUNDLE .PHONY: MACOS_BUNDLE MACOS_PACKAGE MACOS_RELEASE BUNDLE PACKAGE
endif
.PHONY: BUNDLE MACOS_BUNDLE MACOS_PACKAGE MACOS_RELEASE
############################################################################### ###############################################################################
# Make a Windows installer # Make a Windows installer
############################################################################### ###############################################################################
ifeq (@CONFIG_OS@,MINGW)
GS_EXE = @GS_EXE@ GS_EXE = @GS_EXE@
GS_DLL = @GS_DLL@ GS_DLL = @GS_DLL@
WINSPARKLE_DLL = @WINSPARKLE_DLL@ WINSPARKLE_DLL = @WINSPARKLE_DLL@
WINSPARKLE_PATH = @WINSPARKLE_PATH@ WINSPARKLE_PATH = @WINSPARKLE_PATH@
WINDOWS_PACKAGE_SRC = packages/windows WINDOWS_PACKAGE_SRC = packages/windows
WINDOWS_PACKAGE_DIR = ../distr/windows WINDOWS_PACKAGE_DIR = ../distr/windows
WINDOWS_BUILD_DIR = ../distr/TeXmacs-Windows WINDOWS_BUILD_DIR = ../distr/TeXmacs-Windows
WINDOWS_BUILD_BIN_DIR = $(WINDOWS_BUILD_DIR)/bin WINDOWS_BUILD_BIN_DIR = $(WINDOWS_BUILD_DIR)/bin
## WARNING: the following path list needs to be adapted manually ## WARNING: the following path list needs to be adapted manually
DLLPATH = $(PATH) $(WINSPARKLE_PATH) DLLPATH = $(PATH) $(WINSPARKLE_PATH)
DLLS_IN_PATH = $(wildcard $(addsuffix /$(1),$(subst :, ,$(DLLPATH)))) DLLS_IN_PATH = $(wildcard $(addsuffix /$(1),$(subst :, ,$(DLLPATH))))
DLL_LIST = pthreadGC2.dll libgcc_s_dw2-1.dll QtCore4.dll QtGui4.dll QtXml4.dll \ DLL_LIST = pthreadGC2.dll libgcc_s_dw2-1.dll QtCore4.dll QtGui4.dll QtXml4.dll \
mingwm10.dll libgmp*.dll libguile*.dll libfreetype*.dll libltdl*.dll libiconv*.dll \ mingwm10.dll libgmp*.dll libguile*.dll libfreetype*.dll libltdl*.dll libiconv*.dll \
libintl-8.dll libstdc++*.dll libpoppler*.dll libpng16*.dll zlib1.dll $(GS_EXE) $(GS_DLL) wget.exe $(WINSPARKLE_DLL) libintl-8.dll libstdc++*.dll libpoppler*.dll libpng16*.dll zlib1.dll $(GS_EXE) $(GS_DLL) wget.exe $(WINSPARKLE_DLL)
DLLS = $(foreach DLL,$(DLL_LIST),$(call DLLS_IN_PATH,$(DLL))) DLLS = $(foreach DLL,$(DLL_LIST),$(call DLLS_IN_PATH,$(DLL)))
WINDOWS_BUNDLE: TEXMACS BUNDLE: TEXMACS
$(MKDIR) ../distr $(MKDIR) ../distr
$(MKDIR) $(WINDOWS_BUILD_DIR) $(MKDIR) $(WINDOWS_BUILD_DIR)
$(CP) -u TeXmacs/* $(WINDOWS_BUILD_DIR)/. $(CP) -u TeXmacs/* $(WINDOWS_BUILD_DIR)/.
$(MV) $(WINDOWS_BUILD_DIR)/bin/texmacs.bin $(WINDOWS_BUILD_DIR)/bin/texma cs.exe $(MV) $(WINDOWS_BUILD_DIR)/bin/texmacs.bin $(WINDOWS_BUILD_DIR)/bin/texma cs.exe
$(RM) -r $(WINDOWS_BUILD_DIR)/bin/texmacs $(RM) -r $(WINDOWS_BUILD_DIR)/bin/texmacs
$(CP) misc/admin/texmacs_updates_dsa_pub.pem $(WINDOWS_BUILD_DIR)/bin $(CP) misc/admin/texmacs_updates_dsa_pub.pem $(WINDOWS_BUILD_DIR)/bin
$(CP) $(WINDOWS_PACKAGE_SRC)/*.exe $(WINDOWS_BUILD_DIR)/bin $(CP) $(WINDOWS_PACKAGE_SRC)/*.exe $(WINDOWS_BUILD_DIR)/bin
find `guile-config info pkgdatadir` -type d -name ice-9 -exec $(CP) {} $( WINDOWS_BUILD_DIR)/progs/ \; find `guile-config info pkgdatadir` -type d -name ice-9 -exec $(CP) {} $( WINDOWS_BUILD_DIR)/progs/ \;
[ -d $(WINDOWS_BUILD_BIN_DIR) ] && cp -u $(DLLS) $(WINDOWS_BUILD_BIN_DIR ) [ -d $(WINDOWS_BUILD_BIN_DIR) ] && cp -u $(DLLS) $(WINDOWS_BUILD_BIN_DIR )
[ -d $(WINDOWS_BUILD_BIN_DIR) ] && $(CP) -u $(QT_PLUGINS_PATH)/* $(WINDOW S_BUILD_BIN_DIR) [ -d $(WINDOWS_BUILD_BIN_DIR) ] && $(CP) -u $(QT_PLUGINS_PATH)/* $(WINDOW S_BUILD_BIN_DIR)
$(WINDOWS_PACKAGE_DIR)/@tm_devel@.@SVNREV@-win-x86.exe: $(wilcard $(WINDOWS_BUIL D_DIR)/*) $(WINDOWS_PACKAGE_DIR)/@tm_devel@.@SVNREV@-win-x86.exe: $(wilcard $(WINDOWS_BUIL D_DIR)/*)
$(MKDIR) $(WINDOWS_PACKAGE_DIR) $(MKDIR) $(WINDOWS_PACKAGE_DIR)
iscc $(WINDOWS_PACKAGE_SRC)/TeXmacs.iss iscc $(WINDOWS_PACKAGE_SRC)/TeXmacs.iss
WINDOWS_PACKAGE: WINDOWS_BUNDLE $(WINDOWS_PACKAGE_DIR)/@tm_devel@.@SVNREV@-win-x 86.exe PACKAGE: BUNDLE $(WINDOWS_PACKAGE_DIR)/@tm_devel@.@SVNREV@-win-x86.exe
# $(MV) ../distr/*-installer* $(WINDOWS_PACKAGE_DIR) # $(MV) ../distr/*-installer* $(WINDOWS_PACKAGE_DIR)
# $(RM) -r $(WINDOWS_BUILD_DIR) # $(RM) -r $(WINDOWS_BUILD_DIR)
.PHONY: WINDOWS_BUNDLE WINDOWS_PACKAGE .PHONY: WINDOWS_BUNDLE WINDOWS_PACKAGE
endif
############################################################################### ###############################################################################
# Cleaning and backups # Cleaning and backups
############################################################################### ###############################################################################
RDISTR: RDISTR:
-$(RM) $(tmdir)/TEX_PATHS -$(RM) $(tmdir)/TEX_PATHS
find . -name '*~' -o -name core -delete find . -name '*~' -o -name core -delete
-$(RM) $(tmdir)/lib/*.a -$(RM) $(tmdir)/lib/*.a
-$(RM) $(tmdir)/fonts/error/* 2>/dev/null -$(RM) $(tmdir)/fonts/error/* 2>/dev/null
-$(RM) -r autom*.cache -$(RM) -r autom*.cache
skipping to change at line 580 skipping to change at line 579
$(RM) $(tmdir)/bin/* 2>/dev/null || : $(RM) $(tmdir)/bin/* 2>/dev/null || :
$(RM) -r $(tmdir)/misc/images/.xvpics $(RM) -r $(tmdir)/misc/images/.xvpics
$(RM) -r $(tmdir)/progs/ice-9 $(RM) -r $(tmdir)/progs/ice-9
$(RM) -r X11 $(RM) -r X11
SCLEAN: SCLEAN:
cd src; $(MAKE) -f makefile CLEAN cd src; $(MAKE) -f makefile CLEAN
CLEAN: SCLEAN RCLEAN CLEAN_PLUGINS CLEAN: SCLEAN RCLEAN CLEAN_PLUGINS
DISTCLEAN: CLEAN DISTCLEAN: CLEAN KEEPCONF
$(RM) src/Objects/* 2>/dev/null || : $(RM) src/Objects/* 2>/dev/null || :
$(RM) misc/doxygen/Doxyfile $(RM) misc/doxygen/Doxyfile
$(RM) misc/man/texmacs.1 $(RM) misc/man/texmacs.1
$(RM) misc/scripts/fig2ps $(RM) misc/scripts/fig2ps
$(RM) misc/scripts/texmacs $(RM) misc/scripts/texmacs
$(RM) src/System/config.h $(RM) src/System/config.h
$(RM) src/System/tm_configure.hpp
$(RM) src/makefile $(RM) src/makefile
$(RM) TeXmacs/examples/plugins/dynlink/Makefile $(RM) TeXmacs/examples/plugins/dynlink/Makefile
$(RM) config.cache config.log config.status $(RM) config.cache config.log config.status
$(RM) Makefile ${verinfo} misc/admin/appcast.xml $(RM) Makefile ${verinfo} misc/admin/appcast.xml
$(RM) -r $(WINDOWS_BUILD_DIR) $(RM) -r $(WINDOWS_BUILD_DIR)
SVN_CLEAN: SVN_CLEAN:
$(RM) -r .svn $(RM) -r .svn
$(RM) -r */.svn $(RM) -r */.svn
$(RM) -r */*/.svn $(RM) -r */*/.svn
skipping to change at line 634 skipping to change at line 632
$(STRIP) $(tmdir)/lib/*.$(so) 2>/dev/null || >/dev/null $(STRIP) $(tmdir)/lib/*.$(so) 2>/dev/null || >/dev/null
$(STRIP) $(tmdir)/plugins/*/bin/* 2>/dev/null || >/dev/null $(STRIP) $(tmdir)/plugins/*/bin/* 2>/dev/null || >/dev/null
ACCESS_FLAGS: ACCESS_FLAGS:
$(MKDIR) -p $(tmdir)/bin $(MKDIR) -p $(tmdir)/bin
$(MKDIR) -p $(tmdir)/lib $(MKDIR) -p $(tmdir)/lib
$(CHMOD) -R go+rX * $(CHMOD) -R go+rX *
$(CHMOD) -R go+x $(tmdir)/bin $(CHMOD) -R go+x $(tmdir)/bin
$(CHMOD) -R go+x $(tmdir)/lib $(CHMOD) -R go+x $(tmdir)/lib
# XTRAMKF must be define to activate config info keeping
# XTRAMKF must be define to activate config info keeping
KEEPCONF:
@{ outf=../CmdConfig.txt; if [[ "$(TM_MK_XPERT)" =~ c ]]; \
then [ -f config.log ] && while read confline; \
do [[ $$confline =~ SVNREV ]] && lversion=$$confline; \
[[ $$confline =~ \$$.+configure\ ]] && lconf=$$confline;
\
done < config.log ; \
[ "$$lversion" ] && \
printf "%s %s=>\n%s\n" "$$(date)" "$$lversion" "$$lconf"
>> $$outf && \
echo Save configuration line in $$outf; \
fi; }
VERINFO: VERINFO:
@{ date; uname -srvn ; printf "\nRevision ${svnrev} "; \ @{ date; uname -srvn ; printf "\nRevision ${svnrev} "; \
egrep '\$$.+configure' config.log; \ egrep '\$$.+configure' config.log; \
gcc --version; \ gcc --version; \
svn -v st | misc/admin/verinfo.sh; \ svn -v st | misc/admin/verinfo.sh; \
printf "\n**** DIFF ****\n\n"; \ printf "\n**** DIFF ****\n\n"; \
svn diff; }> ${verinfo} svn diff; }> ${verinfo}
.PHONY: TOUCH STRIP ACCESS_FLAGS .PHONY: TOUCH STRIP ACCESS_FLAGS
%:
cd src && make -r $@
 End of changes. 29 change blocks. 
47 lines changed or deleted 60 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS