Commit e0f68555 authored by Atsuhito Kohda's avatar Atsuhito Kohda

Imported Debian patch 0.3~svn569-2

parent eca3b201
texworks (0.3~svn569-2) experimental; urgency=low
* Added Lua and Python scripting plugins. These are called
texworks-scripting-lua and texworks-scripting-python following packages
(Ubuntu version) of Stefan Löffler.
-- Atsuhito KOHDA <kohda@debian.org> Thu, 18 Feb 2010 09:14:31 +0900
texworks (0.3~svn569-1) experimental; urgency=low
* SVN version for experiment.
......
......@@ -2,7 +2,7 @@ Source: texworks
Section: editors
Priority: extra
Maintainer: Atsuhito KOHDA <kohda@debian.org>
Build-Depends: debhelper (>= 7), libhunspell-dev, qt4-dev-tools, libpoppler-qt4-dev, libdbus-1-dev, sharutils
Build-Depends: debhelper (>= 7), libhunspell-dev, qt4-dev-tools, libpoppler-qt4-dev, libdbus-1-dev, sharutils, liblua5.1-0-dev, python2.6-dev
Standards-Version: 3.8.3
Homepage: http://www.tug.org/texworks/
......@@ -10,7 +10,7 @@ Package: texworks
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Recommends: texlive-latex-base
Suggests: texlive-xetex
Suggests: texlive-xetex, texworks-scripting-lua, texworks-scripting-python
Description: An environment for authoring TeX (LaTeX, ConTeXt, etc) documents
An environment for authoring TeX (LaTeX, ConTeXt, etc) documents, with
a Unicode-based, TeX-aware editor, integrated PDF viewer, and a clean,
......@@ -21,3 +21,19 @@ Description: An environment for authoring TeX (LaTeX, ConTeXt, etc) documents
a wider community of users, without a technical or intimidating face.
The goal of TeXworks is to deliver a similarly integrated, easy-to-use
environment for users on other platforms, especially GNU/Linux and Windows.
Package: texworks-scripting-lua
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, texworks
Recommends: texworks
Description: Plugin to bring Lua scripting to TeXworks
.
For further information, see http://tug.org/texworks/
Package: texworks-scripting-python
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, texworks
Recommends: texworks
Description: Plugin to bring Python scripting to TeXworks
.
For further information, see http://tug.org/texworks/
--- texworks-0.3~svn569.orig/TeXworks.pro
+++ texworks-0.3~svn569/TeXworks.pro
@@ -88,7 +88,7 @@
# Enclose the path in \\\" (which later gets expanded to \", which in turn
# gets expanded to " in the c++ code)
QMAKE_CXXFLAGS += -DTW_HELPPATH=\\\"/usr/local/share/texworks-help\\\"
- QMAKE_CXXFLAGS += -DTW_PLUGINPATH=\\\"/usr/local/lib/texworks\\\"
+ QMAKE_CXXFLAGS += -DTW_PLUGINPATH=\\\"/usr/lib/texworks\\\"
QMAKE_CXXFLAGS += -DTW_DICPATH=\\\"/usr/share/myspell/dicts\\\"
}
......@@ -10,6 +10,8 @@
#export DH_VERBOSE=1
USDIR=$(CURDIR)/debian/texworks/usr/share
PLIDIR=plugins-src/TWLuaPlugin
PLIPYT=plugins-src/TWPythonPlugin
configure: configure-stamp
configure-stamp:
......@@ -18,6 +20,7 @@ configure-stamp:
patch -p1 < ./debian/patch-print
uudecode debian/document-print.png.enc
mv document-print.png res/tango/
patch -p1 < ./debian/patch-plugin
qmake-qt4
touch configure-stamp
......@@ -30,6 +33,10 @@ build-stamp: configure-stamp
# Add here commands to compile the package.
$(MAKE)
# Lua plugin
cd $(PLIDIR) && qmake-qt4 -after 'target.path = /usr/lib/texworks' && $(MAKE)
# Python plugin
cd $(PLIPYT) && qmake-qt4 -after 'target.path = /usr/lib/texworks' && $(MAKE)
#docbook-to-man debian/texworks.sgml > texworks.1
touch $@
......@@ -42,12 +49,26 @@ clean:
# Add here commands to clean up after the build process.
if [ -f Makefile ]; then $(MAKE) clean; fi
rm -f ./texworks ./Makefile src/DefaultBinaryPaths.h
if [ -d moc ];then rmdir moc; fi
if [ -d obj ];then rmdir obj; fi
if [ -d rcc ];then rmdir rcc; fi
if [ -d ui ];then rmdir ui; fi
if [ -d moc ]; then rmdir moc; fi
if [ -d obj ]; then rmdir obj; fi
if [ -d rcc ]; then rmdir rcc; fi
if [ -d ui ]; then rmdir ui; fi
if [ -f $(PLIDIR)/Makefile ]; then cd $(PLIDIR) && $(MAKE) clean; fi
if [ -d $(PLIDIR)/moc ]; then rmdir $(PLIDIR)/moc; fi
if [ -d $(PLIDIR)/obj ]; then rmdir $(PLIDIR)/obj; fi
if [ -d $(PLIDIR)/rcc ]; then rmdir $(PLIDIR)/rcc; fi
if [ -d $(PLIDIR)/ui ]; then rmdir $(PLIDIR)/ui; fi
if [ -f $(PLIPYT)/Makefile ]; then cd $(PLIPYT) && $(MAKE) clean; fi
if [ -d $(PLIPYT)/moc ]; then rmdir $(PLIPYT)/moc; fi
if [ -d $(PLIPYT)/obj ]; then rmdir $(PLIPYT)/obj; fi
if [ -d $(PLIPYT)/rcc ]; then rmdir $(PLIPYT)/rcc; fi
if [ -d $(PLIPYT)/ui ]; then rmdir $(PLIPYT)/ui; fi
patch -NRp1 < ./debian/patch-print || true
patch -NRp1 < ./debian/patch-plugin || true
rm -f document-print.png res/tango/document-print.png
rm -f $(PLIDIR)/libTWLuaPlugin.so
rm -f $(PLIPYT)/libTWPythonPlugin.so
dh_clean
......@@ -55,13 +76,17 @@ install: build
dh_testdir
dh_testroot
dh_prep
dh_installdirs
dh_installdirs -A
# Add here commands to install the package into debian/texworks.
# $(MAKE) DESTDIR=$(CURDIR)/debian/texworks install
cp ./texworks $(CURDIR)/debian/texworks/usr/bin
install -m 755 -p ./texworks $(CURDIR)/debian/texworks/usr/bin
cp debian/texworks.xpm $(USDIR)/pixmaps/
cp debian/texworks.desktop $(USDIR)/applications/
install -m 755 -p "$(PLIDIR)/libTWLuaPlugin.so" \
$(CURDIR)/debian/texworks-scripting-lua/usr/lib/texworks
install -m 755 -p "$(PLIPYT)/libTWPythonPlugin.so" \
$(CURDIR)/debian/texworks-scripting-python/usr/lib/texworks
# Build architecture-independent files here.
binary-indep: install
......
#############################################################################
# Makefile for building: libTWLuaPlugin.so
# Generated by qmake (2.01a) (Qt 4.5.3) on: ? 2? 18 12:37:48 2010
# Project: TWLuaPlugin.pro
# Template: lib
# Command: /usr/bin/qmake-qt4 -unix -after target.path\ =\ /usr/lib/texworks -o Makefile TWLuaPlugin.pro
#############################################################################
####### Compiler, tools and options
CC = gcc
CXX = g++
DEFINES = -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
CFLAGS = -pipe -O2 -I/usr/include/lua5.1 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
CXXFLAGS = -pipe -O2 -I/usr/include/lua5.1 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../../src -Imoc
LINK = g++
LFLAGS = -Wl,-O1 -shared
LIBS = $(SUBLIBS) -L/usr/lib -llua5.1 -lQtGui -lQtCore -lpthread
AR = ar cqs
RANLIB =
QMAKE = /usr/bin/qmake-qt4
TAR = tar -cf
COMPRESS = gzip -9f
COPY = cp -f
SED = sed
COPY_FILE = $(COPY)
COPY_DIR = $(COPY) -r
INSTALL_FILE = install -m 644 -p
INSTALL_DIR = $(COPY_DIR)
INSTALL_PROGRAM = install -m 755 -p
DEL_FILE = rm -f
SYMLINK = ln -sf
DEL_DIR = rmdir
MOVE = mv -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
####### Output directory
OBJECTS_DIR = obj/
####### Files
SOURCES = TWLuaPlugin.cpp \
../../src/TWScript.cpp moc/moc_TWLuaPlugin.cpp \
moc/moc_TWScript.cpp
OBJECTS = obj/TWLuaPlugin.o \
obj/TWScript.o \
obj/moc_TWLuaPlugin.o \
obj/moc_TWScript.o
DIST = /usr/share/qt4/mkspecs/common/g++.conf \
/usr/share/qt4/mkspecs/common/unix.conf \
/usr/share/qt4/mkspecs/common/linux.conf \
/usr/share/qt4/mkspecs/qconfig.pri \
/usr/share/qt4/mkspecs/features/qt_functions.prf \
/usr/share/qt4/mkspecs/features/qt_config.prf \
/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
/usr/share/qt4/mkspecs/features/default_pre.prf \
/usr/share/qt4/mkspecs/features/release.prf \
/usr/share/qt4/mkspecs/features/default_post.prf \
/usr/share/qt4/mkspecs/features/link_pkgconfig.prf \
/usr/share/qt4/mkspecs/features/warn_on.prf \
/usr/share/qt4/mkspecs/features/qt.prf \
/usr/share/qt4/mkspecs/features/unix/thread.prf \
/usr/share/qt4/mkspecs/features/moc.prf \
/usr/share/qt4/mkspecs/features/resources.prf \
/usr/share/qt4/mkspecs/features/uic.prf \
/usr/share/qt4/mkspecs/features/yacc.prf \
/usr/share/qt4/mkspecs/features/lex.prf \
/usr/share/qt4/mkspecs/features/include_source_dir.prf \
TWLuaPlugin.pro
QMAKE_TARGET = TWLuaPlugin
DESTDIR =
TARGET = libTWLuaPlugin.so
TARGETD = libTWLuaPlugin.so
first: all
####### Implicit rules
.SUFFIXES: .o .c .cpp .cc .cxx .C
.cpp.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
.cc.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
.cxx.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
.C.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
.c.o:
$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
####### Build rules
all: Makefile $(TARGET)
$(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP)
-$(DEL_FILE) $(TARGET)
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
Makefile: TWLuaPlugin.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
/usr/share/qt4/mkspecs/common/unix.conf \
/usr/share/qt4/mkspecs/common/linux.conf \
/usr/share/qt4/mkspecs/qconfig.pri \
/usr/share/qt4/mkspecs/features/qt_functions.prf \
/usr/share/qt4/mkspecs/features/qt_config.prf \
/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
/usr/share/qt4/mkspecs/features/default_pre.prf \
/usr/share/qt4/mkspecs/features/release.prf \
/usr/share/qt4/mkspecs/features/default_post.prf \
/usr/share/qt4/mkspecs/features/link_pkgconfig.prf \
/usr/share/qt4/mkspecs/features/warn_on.prf \
/usr/share/qt4/mkspecs/features/qt.prf \
/usr/share/qt4/mkspecs/features/unix/thread.prf \
/usr/share/qt4/mkspecs/features/moc.prf \
/usr/share/qt4/mkspecs/features/resources.prf \
/usr/share/qt4/mkspecs/features/uic.prf \
/usr/share/qt4/mkspecs/features/yacc.prf \
/usr/share/qt4/mkspecs/features/lex.prf \
/usr/share/qt4/mkspecs/features/include_source_dir.prf \
/usr/lib/libQtGui.prl \
/usr/lib/libQtCore.prl
$(QMAKE) -unix -after target.path\ =\ /usr/lib/texworks -o Makefile TWLuaPlugin.pro
/usr/share/qt4/mkspecs/common/g++.conf:
/usr/share/qt4/mkspecs/common/unix.conf:
/usr/share/qt4/mkspecs/common/linux.conf:
/usr/share/qt4/mkspecs/qconfig.pri:
/usr/share/qt4/mkspecs/features/qt_functions.prf:
/usr/share/qt4/mkspecs/features/qt_config.prf:
/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
/usr/share/qt4/mkspecs/features/default_pre.prf:
/usr/share/qt4/mkspecs/features/release.prf:
/usr/share/qt4/mkspecs/features/default_post.prf:
/usr/share/qt4/mkspecs/features/link_pkgconfig.prf:
/usr/share/qt4/mkspecs/features/warn_on.prf:
/usr/share/qt4/mkspecs/features/qt.prf:
/usr/share/qt4/mkspecs/features/unix/thread.prf:
/usr/share/qt4/mkspecs/features/moc.prf:
/usr/share/qt4/mkspecs/features/resources.prf:
/usr/share/qt4/mkspecs/features/uic.prf:
/usr/share/qt4/mkspecs/features/yacc.prf:
/usr/share/qt4/mkspecs/features/lex.prf:
/usr/share/qt4/mkspecs/features/include_source_dir.prf:
/usr/lib/libQtGui.prl:
/usr/lib/libQtCore.prl:
qmake: FORCE
@$(QMAKE) -unix -after target.path\ =\ /usr/lib/texworks -o Makefile TWLuaPlugin.pro
dist:
@$(CHK_DIR_EXISTS) obj/TWLuaPlugin1.0.0 || $(MKDIR) obj/TWLuaPlugin1.0.0
$(COPY_FILE) --parents $(SOURCES) $(DIST) obj/TWLuaPlugin1.0.0/ && $(COPY_FILE) --parents TWLuaPlugin.h ../../src/TWScript.h obj/TWLuaPlugin1.0.0/ && $(COPY_FILE) --parents TWLuaPlugin.cpp ../../src/TWScript.cpp obj/TWLuaPlugin1.0.0/ && (cd `dirname obj/TWLuaPlugin1.0.0` && $(TAR) TWLuaPlugin1.0.0.tar TWLuaPlugin1.0.0 && $(COMPRESS) TWLuaPlugin1.0.0.tar) && $(MOVE) `dirname obj/TWLuaPlugin1.0.0`/TWLuaPlugin1.0.0.tar.gz . && $(DEL_FILE) -r obj/TWLuaPlugin1.0.0
clean:compiler_clean
-$(DEL_FILE) $(OBJECTS)
-$(DEL_FILE) *~ core *.core
####### Sub-libraries
distclean: clean
-$(DEL_FILE) $(TARGET)
-$(DEL_FILE) Makefile
mocclean: compiler_moc_header_clean compiler_moc_source_clean
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
compiler_moc_header_make_all: moc/moc_TWLuaPlugin.cpp moc/moc_TWScript.cpp
compiler_moc_header_clean:
-$(DEL_FILE) moc/moc_TWLuaPlugin.cpp moc/moc_TWScript.cpp
moc/moc_TWLuaPlugin.cpp: TWLuaPlugin.h
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) TWLuaPlugin.h -o moc/moc_TWLuaPlugin.cpp
moc/moc_TWScript.cpp: ../../src/TWScript.h
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) ../../src/TWScript.h -o moc/moc_TWScript.cpp
compiler_rcc_make_all:
compiler_rcc_clean:
compiler_image_collection_make_all: qmake_image_collection.cpp
compiler_image_collection_clean:
-$(DEL_FILE) qmake_image_collection.cpp
compiler_moc_source_make_all:
compiler_moc_source_clean:
compiler_uic_make_all:
compiler_uic_clean:
compiler_yacc_decl_make_all:
compiler_yacc_decl_clean:
compiler_yacc_impl_make_all:
compiler_yacc_impl_clean:
compiler_lex_make_all:
compiler_lex_clean:
compiler_clean: compiler_moc_header_clean
####### Compile
obj/TWLuaPlugin.o: TWLuaPlugin.cpp TWLuaPlugin.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/TWLuaPlugin.o TWLuaPlugin.cpp
obj/TWScript.o: ../../src/TWScript.cpp ../../src/TWScript.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/TWScript.o ../../src/TWScript.cpp
obj/moc_TWLuaPlugin.o: moc/moc_TWLuaPlugin.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_TWLuaPlugin.o moc/moc_TWLuaPlugin.cpp
obj/moc_TWScript.o: moc/moc_TWScript.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_TWScript.o moc/moc_TWScript.cpp
####### Install
install_target: first FORCE
@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib/texworks/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib/texworks/
-$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/texworks/$(TARGET)"
-strip --strip-unneeded "$(INSTALL_ROOT)/usr/lib/texworks/$(TARGET)"
uninstall_target: FORCE
-$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/texworks/$(TARGET)"
-$(DEL_DIR) $(INSTALL_ROOT)/usr/lib/texworks/
install: install_target FORCE
uninstall: uninstall_target FORCE
FORCE:
#############################################################################
# Makefile for building: libTWPythonPlugin.so
# Generated by qmake (2.01a) (Qt 4.5.3) on: ? 2? 18 12:37:53 2010
# Project: TWPythonPlugin.pro
# Template: lib
# Command: /usr/bin/qmake-qt4 -unix -after target.path\ =\ /usr/lib/texworks -o Makefile TWPythonPlugin.pro
#############################################################################
####### Compiler, tools and options
CC = gcc
CXX = g++
DEFINES = -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
CXXFLAGS = -pipe -fno-strict-aliasing -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../../src -I/usr/include/python2.6 -Imoc
LINK = g++
LFLAGS = -Wl,-O1 -shared
LIBS = $(SUBLIBS) -L/usr/lib -lpython2.6 -lQtGui -lQtCore -lpthread
AR = ar cqs
RANLIB =
QMAKE = /usr/bin/qmake-qt4
TAR = tar -cf
COMPRESS = gzip -9f
COPY = cp -f
SED = sed
COPY_FILE = $(COPY)
COPY_DIR = $(COPY) -r
INSTALL_FILE = install -m 644 -p
INSTALL_DIR = $(COPY_DIR)
INSTALL_PROGRAM = install -m 755 -p
DEL_FILE = rm -f
SYMLINK = ln -sf
DEL_DIR = rmdir
MOVE = mv -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
####### Output directory
OBJECTS_DIR = obj/
####### Files
SOURCES = TWPythonPlugin.cpp \
../../src/TWScript.cpp moc/moc_TWPythonPlugin.cpp \
moc/moc_TWScript.cpp
OBJECTS = obj/TWPythonPlugin.o \
obj/TWScript.o \
obj/moc_TWPythonPlugin.o \
obj/moc_TWScript.o
DIST = /usr/share/qt4/mkspecs/common/g++.conf \
/usr/share/qt4/mkspecs/common/unix.conf \
/usr/share/qt4/mkspecs/common/linux.conf \
/usr/share/qt4/mkspecs/qconfig.pri \
/usr/share/qt4/mkspecs/features/qt_functions.prf \
/usr/share/qt4/mkspecs/features/qt_config.prf \
/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
/usr/share/qt4/mkspecs/features/default_pre.prf \
/usr/share/qt4/mkspecs/features/release.prf \
/usr/share/qt4/mkspecs/features/default_post.prf \
/usr/share/qt4/mkspecs/features/warn_on.prf \
/usr/share/qt4/mkspecs/features/qt.prf \
/usr/share/qt4/mkspecs/features/unix/thread.prf \
/usr/share/qt4/mkspecs/features/moc.prf \
/usr/share/qt4/mkspecs/features/resources.prf \
/usr/share/qt4/mkspecs/features/uic.prf \
/usr/share/qt4/mkspecs/features/yacc.prf \
/usr/share/qt4/mkspecs/features/lex.prf \
/usr/share/qt4/mkspecs/features/include_source_dir.prf \
TWPythonPlugin.pro
QMAKE_TARGET = TWPythonPlugin
DESTDIR =
TARGET = libTWPythonPlugin.so
TARGETD = libTWPythonPlugin.so
first: all
####### Implicit rules
.SUFFIXES: .o .c .cpp .cc .cxx .C
.cpp.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
.cc.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
.cxx.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
.C.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
.c.o:
$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
####### Build rules
all: Makefile $(TARGET)
$(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP)
-$(DEL_FILE) $(TARGET)
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
Makefile: TWPythonPlugin.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
/usr/share/qt4/mkspecs/common/unix.conf \
/usr/share/qt4/mkspecs/common/linux.conf \
/usr/share/qt4/mkspecs/qconfig.pri \
/usr/share/qt4/mkspecs/features/qt_functions.prf \
/usr/share/qt4/mkspecs/features/qt_config.prf \
/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
/usr/share/qt4/mkspecs/features/default_pre.prf \
/usr/share/qt4/mkspecs/features/release.prf \
/usr/share/qt4/mkspecs/features/default_post.prf \
/usr/share/qt4/mkspecs/features/warn_on.prf \
/usr/share/qt4/mkspecs/features/qt.prf \
/usr/share/qt4/mkspecs/features/unix/thread.prf \
/usr/share/qt4/mkspecs/features/moc.prf \
/usr/share/qt4/mkspecs/features/resources.prf \
/usr/share/qt4/mkspecs/features/uic.prf \
/usr/share/qt4/mkspecs/features/yacc.prf \
/usr/share/qt4/mkspecs/features/lex.prf \
/usr/share/qt4/mkspecs/features/include_source_dir.prf \
/usr/lib/libQtGui.prl \
/usr/lib/libQtCore.prl
$(QMAKE) -unix -after target.path\ =\ /usr/lib/texworks -o Makefile TWPythonPlugin.pro
/usr/share/qt4/mkspecs/common/g++.conf:
/usr/share/qt4/mkspecs/common/unix.conf:
/usr/share/qt4/mkspecs/common/linux.conf:
/usr/share/qt4/mkspecs/qconfig.pri:
/usr/share/qt4/mkspecs/features/qt_functions.prf:
/usr/share/qt4/mkspecs/features/qt_config.prf:
/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
/usr/share/qt4/mkspecs/features/default_pre.prf:
/usr/share/qt4/mkspecs/features/release.prf:
/usr/share/qt4/mkspecs/features/default_post.prf:
/usr/share/qt4/mkspecs/features/warn_on.prf:
/usr/share/qt4/mkspecs/features/qt.prf:
/usr/share/qt4/mkspecs/features/unix/thread.prf:
/usr/share/qt4/mkspecs/features/moc.prf:
/usr/share/qt4/mkspecs/features/resources.prf:
/usr/share/qt4/mkspecs/features/uic.prf:
/usr/share/qt4/mkspecs/features/yacc.prf:
/usr/share/qt4/mkspecs/features/lex.prf:
/usr/share/qt4/mkspecs/features/include_source_dir.prf:
/usr/lib/libQtGui.prl:
/usr/lib/libQtCore.prl:
qmake: FORCE
@$(QMAKE) -unix -after target.path\ =\ /usr/lib/texworks -o Makefile TWPythonPlugin.pro
dist:
@$(CHK_DIR_EXISTS) obj/TWPythonPlugin1.0.0 || $(MKDIR) obj/TWPythonPlugin1.0.0
$(COPY_FILE) --parents $(SOURCES) $(DIST) obj/TWPythonPlugin1.0.0/ && $(COPY_FILE) --parents TWPythonPlugin.h ../../src/TWScript.h obj/TWPythonPlugin1.0.0/ && $(COPY_FILE) --parents TWPythonPlugin.cpp ../../src/TWScript.cpp obj/TWPythonPlugin1.0.0/ && (cd `dirname obj/TWPythonPlugin1.0.0` && $(TAR) TWPythonPlugin1.0.0.tar TWPythonPlugin1.0.0 && $(COMPRESS) TWPythonPlugin1.0.0.tar) && $(MOVE) `dirname obj/TWPythonPlugin1.0.0`/TWPythonPlugin1.0.0.tar.gz . && $(DEL_FILE) -r obj/TWPythonPlugin1.0.0
clean:compiler_clean
-$(DEL_FILE) $(OBJECTS)
-$(DEL_FILE) *~ core *.core
####### Sub-libraries
distclean: clean
-$(DEL_FILE) $(TARGET)
-$(DEL_FILE) Makefile
mocclean: compiler_moc_header_clean compiler_moc_source_clean
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
compiler_moc_header_make_all: moc/moc_TWPythonPlugin.cpp moc/moc_TWScript.cpp
compiler_moc_header_clean:
-$(DEL_FILE) moc/moc_TWPythonPlugin.cpp moc/moc_TWScript.cpp
moc/moc_TWPythonPlugin.cpp: TWPythonPlugin.h
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) TWPythonPlugin.h -o moc/moc_TWPythonPlugin.cpp
moc/moc_TWScript.cpp: ../../src/TWScript.h
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) ../../src/TWScript.h -o moc/moc_TWScript.cpp
compiler_rcc_make_all:
compiler_rcc_clean:
compiler_image_collection_make_all: qmake_image_collection.cpp
compiler_image_collection_clean:
-$(DEL_FILE) qmake_image_collection.cpp
compiler_moc_source_make_all:
compiler_moc_source_clean:
compiler_uic_make_all:
compiler_uic_clean:
compiler_yacc_decl_make_all:
compiler_yacc_decl_clean:
compiler_yacc_impl_make_all:
compiler_yacc_impl_clean:
compiler_lex_make_all:
compiler_lex_clean:
compiler_clean: compiler_moc_header_clean
####### Compile
obj/TWPythonPlugin.o: TWPythonPlugin.cpp TWPythonPlugin.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/TWPythonPlugin.o TWPythonPlugin.cpp
obj/TWScript.o: ../../src/TWScript.cpp ../../src/TWScript.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/TWScript.o ../../src/TWScript.cpp
obj/moc_TWPythonPlugin.o: moc/moc_TWPythonPlugin.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_TWPythonPlugin.o moc/moc_TWPythonPlugin.cpp
obj/moc_TWScript.o: moc/moc_TWScript.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_TWScript.o moc/moc_TWScript.cpp
####### Install
install_target: first FORCE
@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib/texworks/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib/texworks/
-$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/texworks/$(TARGET)"
-strip --strip-unneeded "$(INSTALL_ROOT)/usr/lib/texworks/$(TARGET)"
uninstall_target: FORCE
-$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/texworks/$(TARGET)"
-$(DEL_DIR) $(INSTALL_ROOT)/usr/lib/texworks/
install: install_target FORCE
uninstall: uninstall_target FORCE
FORCE:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment