~ubuntu-branches/debian/sid/glusterfs/sid

« back to all changes in this revision

Viewing changes to extras/LinuxRPM/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2014-04-22 10:00:41 UTC
  • mfrom: (1.3.25)
  • Revision ID: package-import@ubuntu.com-20140422100041-6mur2ttyvb8zzpfq
Tags: 3.5.0-1
* New upstream release.
  - Rewrite patch 01-spelling-error.
  - Adjust lintian overrides.
  - Install new files.
  - The offical tarball is not properly generated, hack it around.
  - Add symlink from fusermount-glusterfs manpage to mount.glusterfs.
  - Move gsync-sync-gfid from /usr/share to /usr/lib.
  - Add benchmarking directory.
* Remove old versioned build dependencies and build depend on libglib2.0-dev.
* Add lintian override for possible-gpl-code-linked-with-openssl. It is the
  same false positive like with the gluster-server package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
AUTOHEADER = @AUTOHEADER@
67
67
AUTOMAKE = @AUTOMAKE@
68
68
AWK = @AWK@
 
69
BUILD_PYTHON_INC = @BUILD_PYTHON_INC@
 
70
BUILD_PYTHON_LIB = @BUILD_PYTHON_LIB@
69
71
CC = @CC@
70
72
CCDEPMODE = @CCDEPMODE@
71
73
CFLAGS = @CFLAGS@
96
98
GF_HOST_OS = @GF_HOST_OS@
97
99
GF_LDADD = @GF_LDADD@
98
100
GF_LDFLAGS = @GF_LDFLAGS@
 
101
GLIB_CFLAGS = @GLIB_CFLAGS@
 
102
GLIB_LIBS = @GLIB_LIBS@
 
103
GLUPY_SUBDIR = @GLUPY_SUBDIR@
 
104
GLUPY_SUBDIR_MAKEFILE = @GLUPY_SUBDIR_MAKEFILE@
 
105
GLUPY_SUBDIR_SRC_MAKEFILE = @GLUPY_SUBDIR_SRC_MAKEFILE@
99
106
GREP = @GREP@
100
107
HAVE_BACKTRACE = @HAVE_BACKTRACE@
101
108
HAVE_LINKAT = @HAVE_LINKAT@
117
124
LIBOBJS = @LIBOBJS@
118
125
LIBS = @LIBS@
119
126
LIBTOOL = @LIBTOOL@
120
 
LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
121
 
LIBXML2_LIBS = @LIBXML2_LIBS@
 
127
LIBZ_CFLAGS = @LIBZ_CFLAGS@
 
128
LIBZ_LIBS = @LIBZ_LIBS@
122
129
LIPO = @LIPO@
123
130
LN_S = @LN_S@
124
131
LTLIBOBJS = @LTLIBOBJS@
158
165
SYNCDAEMON_COMPILE = @SYNCDAEMON_COMPILE@
159
166
SYNCDAEMON_SUBDIR = @SYNCDAEMON_SUBDIR@
160
167
VERSION = @VERSION@
 
168
XML2_CONFIG = @XML2_CONFIG@
 
169
XML_CPPFLAGS = @XML_CPPFLAGS@
 
170
XML_LIBS = @XML_LIBS@
161
171
YACC = @YACC@
162
172
YFLAGS = @YFLAGS@
 
173
ZLIB_CFLAGS = @ZLIB_CFLAGS@
 
174
ZLIB_LIBS = @ZLIB_LIBS@
163
175
abs_builddir = @abs_builddir@
164
176
abs_srcdir = @abs_srcdir@
165
177
abs_top_builddir = @abs_top_builddir@
222
234
top_build_prefix = @top_build_prefix@
223
235
top_builddir = @top_builddir@
224
236
top_srcdir = @top_srcdir@
225
 
GFS_TAR = ../../glusterfs-${VERSION}.tar.gz
 
237
GFS_TAR = ../../glusterfs-$(VERSION).tar.gz
226
238
all: all-am
227
239
 
228
240
.SUFFIXES:
420
432
        if [ ! -e $(GFS_TAR) ]; then \
421
433
                $(MAKE) -C ../.. dist; \
422
434
        fi
 
435
        -mkdir -p rpmbuild/BUILD
423
436
        -mkdir -p rpmbuild/SPECS
424
437
        -mkdir -p rpmbuild/RPMS
425
438
        -mkdir -p rpmbuild/SRPMS
426
 
        -rm -rf rpmbuild/SOURCES
427
 
        @if [ -d /d/cache/glusterfs -a -e /d/cache/glusterfs/sources ]; then \
428
 
                echo "copying glusterfs rpm files from local cache..."  ; \
429
 
                mkdir -p ./rpmbuild/SOURCES; \
430
 
                cp /d/cache/glusterfs/* ./rpmbuild/SOURCES/ ; \
431
 
        elif [ -x /usr/bin/git ]; then \
432
 
                echo "fetching glusterfs rpm files from fedora git repo..."; \
433
 
                cd ./rpmbuild && git clone git://pkgs.fedoraproject.org/glusterfs.git > /dev/null && mv glusterfs SOURCES; \
434
 
        else \
435
 
                echo "glusterfs rpm files not fetched, you don't have git installed!" ; \
436
 
                exit 1 ; \
437
 
        fi
 
439
        -mkdir -p rpmbuild/SOURCES
 
440
        -rm -rf rpmbuild/SOURCES/*
438
441
        cp ../../*.tar.gz ./rpmbuild/SOURCES
439
442
        cp ../../glusterfs.spec ./rpmbuild/SPECS
440
443