compiles deb, fails at distcheck; refs #110

This commit is contained in:
Marc Wäckerlin
2011-12-13 09:35:41 +00:00
parent 2914b984e5
commit 29dcafa065
9 changed files with 1066 additions and 664 deletions

View File

@@ -5,10 +5,30 @@
## 1 2 3 4 5 6 7 8
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
EXTRA_DIST = resources *.cxx *.hxx *.ui *.ts qt_*.qm *.qrc
include_HEADERS =
if !MINGW32
if MAC
AM_CPPFLAGS += -I/opt/local/include
# -I/Library/OpenSC/include
AM_LDFLAGS = -L/opt/local/lib
# -F/System/Library/Frameworks/PCSC.framework
else
# AM_CPPFLAGS += -I/usr/include/PCSC
endif
endif
mypkgdir = ${datarootdir}/@PACKAGENAME@
mypkg_SCRIPTS =
mypkg_DATA = @PACKAGENAME@.xpm resources/@PACKAGENAME@.png
applicationsdir = ${datarootdir}/applications
dist_applications_DATA = @PACKAGENAME@.desktop
EXTRA_DIST = resources *.cxx *.hxx *.ui *.ts *.qrc
LANGS = en de fr it
ALL_SRC = @SRCDIR@/*.[ch]xx @SRCDIR@/*.ui $(shell find @SRCDIR@ resources -name .svn -prune -o \( -type f -o -type l \) -print)
ALL_SRC = ${top_srcdir}/src/*.[ch]xx ${top_srcdir}/src/*.ui $(shell find ${top_srcdir}/src/resources -name .svn -prune -o \( -type f -o -type l \) -print)
QMAKE_PROJECT = qmake.pro
QMAKE_MAKEFILE = makefile.qmake
@@ -45,8 +65,8 @@ print:
@echo "TARGETS=${TARGETS}"
@PACKAGENAME@_%.qm: @PACKAGENAME@_%.ts
${LRELEASE} $<
@PACKAGENAME@_%.qm: ${top_srcdir}/src/@PACKAGENAME@_%.ts
${LRELEASE} $< -qm $@
%.xpm: resources/%.png
convert $< $@ || cp $< $@
@@ -67,6 +87,7 @@ maintainer-clean-local:
-rm -rf ${QMAKE_TARGET}.app
install-exec-local:
test -d ${bindir} || mkdir -p ${bindir}
( test -f @PACKAGENAME@ && cp @PACKAGENAME@ ${bindir}/ ) \
|| ( test -f @PACKAGENAME@.exe && cp @PACKAGENAME@.exe ${bindir}/ ) \
|| ( test -d @PACKAGENAME@.app && cp -r @PACKAGENAME@.app ${bindir}/ )
@@ -77,5 +98,5 @@ uninstall-local:
CLEANFILES = ${TARGETS} ${TARGETS:%=%.exe} $(LANGS:%=@PACKAGENAME@_%.qm) \
*.o *.obj qrc_*.cpp ui_*.h moc_*.cpp \
${QMAKE_TARGET} \
init.xpm
@PACKAGENAME@.xpm
MAINTAINERCLEANFILES = makefile.in ${QMAKE_MAKEFILE}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB