improved configure, handing of photos better in the place gallery

svn: r427
This commit is contained in:
Don Allingham
2001-09-25 14:33:39 +00:00
parent fc70b6180b
commit c951eb32e6
4 changed files with 82 additions and 81 deletions

View File

@@ -205,7 +205,7 @@ class EditPlace:
thumb = "%s%s.thumb%s%s" % (self.path,os.sep,os.sep,src)
else:
thumb = "%s%s.thumb%s%s.jpg" % (self.path,os.sep,os.sep,os.path.basename(src))
RelImage.check_thumb(src,thumb,const.thumbScale)
RelImage.check_thumb(phto.getPath(),thumb,const.thumbScale)
self.photo_list.append(thumb,photo.getDescription())
#-------------------------------------------------------------------------

View File

@@ -5,7 +5,8 @@ datadir = @datadir@/@PACKAGE@
INSTALL = @INSTALL@
srcdir = @top_srcdir@
pycomp = ${srcdir}/py-compile
CFLAGS = -fPIC -shared -O @PYTHON_INCLUDES@
CFLAGS = -fPIC -shared -O @PYTHON_INCLUDES@ @CFLAGS@ @CPPFLAGS@ -I@includedir@
LDFLAGS = @LDFLAGS@ -L@libdir@ @LIBS@
LANG = sv de fr es
@SET_MAKE@
@@ -15,7 +16,7 @@ all: intl.so
${pycomp} *.py
intl.so: intl.c
$(CC) $(CFLAGS) -o intl.so intl.c
$(CC) $(CFLAGS) $(LDFLAGS) -o intl.so intl.c
install:
${INSTALL} -d ${datadir}