version 1.3, 2010/02/11 14:18:15
|
version 1.61, 2013/02/27 15:06:19
|
Line 1
|
Line 1
|
DIST_SUBDIRS = vim examples lapack rpliconv tools |
SUBDIRS = tools rplsums rpliconv rplawk lapack/blas lapack/lapack rplcas src \ |
SUBDIRS = src scripts man doc rpltags |
rpltags scripts man doc |
EXTRA_DIST = LIMITATIONS Licence_CeCILL_V2-fr.txt Licence_CeCILL_V2-en.txt |
|
|
|
include_HEADERS = rplconfig.h |
include_HEADERS = rplconfig.h |
|
|
|
EXTRA_DIST = LIMITATIONS Licence_CeCILL_V2-fr.txt Licence_CeCILL_V2-en.txt \ |
|
COPYING.in lapack/COPYING lapack/RELEASE autogen.sh \ |
|
tests/tests.tar.gz vim/indent/rpl.vim vim/ftplugin/rpl.vim \ |
|
vim/syntax/rpl.vim examples/obele.rpl examples/appel.tar.gz \ |
|
examples/external.tar.gz DEBIAN/control.in \ |
|
rplcas/@GMP@.tar.gz rplcas/@MPFR@.tar.gz rplcas/@NTL@.tar.gz \ |
|
rplcas/@COCOA@.tar.gz rplcas/@PARI@.tar.gz rplcas/@GIAC@.tar.gz |
|
|
|
all: |
|
@if [ -n $(shell $(MAKE) -v | grep "^GNU Make") ]; then \ |
|
echo; \ |
|
echo MAKE=$(MAKE); \ |
|
echo "Please use GNU Make !"; \ |
|
echo; \ |
|
false; \ |
|
fi |
|
$(MAKE) all-rpl |
|
|
licences: |
licences: |
cp -f $(top_builddir)/COPYING $(srcdir) |
cp -f $(top_builddir)/COPYING $(srcdir) |
make -C src $@ |
$(MAKE) -C src $@ |
|
|
toolsdistclean: |
toolsdistclean: |
for i in @NCURSES@ @READLINE@ @UNITS@ @GSL@ @GPP@ @GNUPLOT_COMPILATION@ \ |
for i in @NCURSES@ @READLINE@ @UNITS@ @GSL@ @GPP@ @GNUPLOT_COMPILATION@ \ |
@FILE@ @ICONV@; \ |
@FILE@ @ICONV@ @SQLITE@ @SIGSEGV@ @BUILD_OPENMOTIF@; \ |
do \ |
do \ |
\rm -rf $(srcdir)/tools/$$i; \ |
rm -rf $(srcdir)/tools/$$i; \ |
done; |
done; |
|
rm -f $(top_builddir)/tools/openmotif.lib |
|
rm -rf $(top_builddir)/tools/@OPENSSL@ |
|
|
toolsclean: |
toolsclean: |
for i in @NCURSES@ @READLINE@ @UNITS@ @GSL@ @GPP@ @GNUPLOT_COMPILATION@ \ |
for i in @NCURSES@ @READLINE@ @UNITS@ @GSL@ @GPP@ @GNUPLOT_COMPILATION@ \ |
@FILE@ @ICONV@; \ |
@FILE@ @ICONV@ @SQLITE@ @SIGSEGV@ @BUILD_OPENMOTIF@; \ |
do \ |
do \ |
(cd $(top_builddir)/tools/$$i && $(MAKE) $(AM_MAKEFLAGS) clean); \ |
$(MAKE) -C $(top_builddir)/tools/$$i $(AM_MAKEFLAGS) clean); \ |
done; |
done; |
|
|
tools: |
$(top_builddir)/tools/@NCURSES@/lib/@LIB_PREFIX@ncurses.a: |
for i in @NCURSES@ @READLINE@ @UNITS@ @GSL@ @GPP@ @GNUPLOT_COMPILATION@ \ |
for i in $(shell find tools/@NCURSES@ -name Makefile \ |
@FILE@ @ICONV@; \ |
-exec grep static {} /dev/null \; | cut -d: -f1); \ |
do \ |
do \ |
(cd $(top_builddir)/tools/$$i && $(MAKE) $(AM_MAKEFLAGS) all); \ |
echo -n Checking $$i; \ |
|
TMP=tmp.ncurses; \ |
|
if [ -n "$$(grep static $$i | grep dynamic)" ]; then \ |
|
awk \ |
|
'{ \ |
|
if (index($$0, "-static") != 0 && index($$0, "-dynamic") != 0) \ |
|
{ \ |
|
for(j = 1; j <= NF; j++) \ |
|
{ \ |
|
if (index($$j, "-static") == 0) \ |
|
{ \ |
|
printf("%s ", $$j); \ |
|
} \ |
|
} \ |
|
printf("\n"); \ |
|
} \ |
|
else \ |
|
{ \ |
|
print; \ |
|
} \ |
|
}' $$i > $$TMP; \ |
|
mv -f $$TMP $$i; \ |
|
echo -n " (fixed)"; \ |
|
else \ |
|
echo -n " (nothing to do)"; \ |
|
rm -f $$TMP; \ |
|
fi; \ |
|
echo .; \ |
done; |
done; |
|
for i in tools/@NCURSES@/test/Makefile; \ |
$(top_builddir)/tools/@NCURSES@/lib/libncurses.a: |
do \ |
(cd $(top_builddir)/tools/@NCURSES@ && $(MAKE) $(AM_MAKEFLAGS)) |
echo -n Checking $$i; \ |
|
TMP=tmp.ncurses_test; \ |
|
awk \ |
|
'/^TEST_ARGS/ \ |
|
{ printf("TEST_ARGS = ../lib/@LIB_PREFIX@form.a \ |
|
../lib/@LIB_PREFIX@menu.a "); \ |
|
printf("../lib/@LIB_PREFIX@panel.a \ |
|
../lib/@LIB_PREFIX@ncurses.a\n"); } \ |
|
! /^TEST_ARGS/ \ |
|
{ print; }' tools/@NCURSES@/test/Makefile > $$TMP; \ |
|
mv -f $$TMP $$i; \ |
|
echo .; \ |
|
done; |
|
if [ @OS@ = "OS2" ]; then \ |
|
TMP=tmp.ncurses_test_os2; \ |
|
awk \ |
|
'/^CXX_AR[ \t]/ \ |
|
{ printf("CXX_AR = $(AR)\n"); } \ |
|
! /^CXX_AR[ \t]/ \ |
|
{ print; }' \ |
|
$(top_builddir)/tools/@NCURSES@/c++/Makefile | \ |
|
awk \ |
|
'/^CXX_ARFLAGS[ \t]/ \ |
|
{ printf("CXX_ARFLAGS = $(ARFLAGS)\n"); } \ |
|
! /^CXX_ARFLAGS[ \t]/ \ |
|
{ print; }' | \ |
|
awk \ |
|
'/^CXX[ \t]/ \ |
|
{ printf("CXX = g++\n"); } \ |
|
! /^CXX[ \t]/ \ |
|
{ print; }' > $$TMP; \ |
|
mv -f $$TMP $(top_builddir)/tools/@NCURSES@/c++/Makefile; \ |
|
fi; |
|
$(MAKE) -C $(top_builddir)/tools/@NCURSES@ $(AM_MAKEFLAGS) |
|
|
$(top_builddir)/tools/@READLINE@/libreadline.a \ |
$(top_builddir)/tools/@READLINE@/libreadline.a \ |
$(top_builddir)/tools/@READLINE@/libhistory.a: |
$(top_builddir)/tools/@READLINE@/libhistory.a: |
(cd $(top_builddir)/tools/@READLINE@ && $(MAKE) $(AM_MAKEFLAGS)) |
$(MAKE) -C $(top_builddir)/tools/@READLINE@ $(AM_MAKEFLAGS) |
|
|
$(top_builddir)/tools/@GSL@/.libs/libgsl.a: |
|
(cd $(top_builddir)/tools/@GSL@ && $(MAKE) $(AM_MAKEFLAGS)) |
|
|
|
$(top_builddir)/tools/@ICONV@/lib/.libs/libiconv.a: |
$(top_builddir)/tools/@GSL@/.libs/@LIB_PREFIX@gsl.a: |
# La dépendance est faite par rpliconv |
# Quick and dirty hack pour avaliser le remplacement de ${1 + "$@"} |
(cd $(top_builddir)/tools/@ICONV@ && $(MAKE) $(AM_MAKEFLAGS)) |
# dans ltmain.sh et propager les modifications dans le script libtool. |
$(AR) cru $(top_builddir)/tools/@ICONV@/lib/.libs/libiconv.a \ |
if [ @OS@ = "OS2" ]; then \ |
$(top_builddir)/tools/@ICONV@/lib/.libs/*.o |
(cd $(top_builddir)/tools/@GSL@ && configure --disable-shared;); \ |
$(RANLIB) $(top_builddir)/tools/@ICONV@/lib/.libs/libiconv.a |
fi |
|
$(MAKE) -C $(top_builddir)/tools/@GSL@ $(AM_MAKEFLAGS) |
|
|
|
$(top_builddir)/tools/@ICONV@/lib/.libs/@LIB_PREFIX@iconv.a: |
|
# La dépendance est faite par rpliconv. |
|
if [ @OS@ = "OS2" ]; then \ |
|
TMP=tmp.libiconv; \ |
|
awk '! /^[ \t]cd po/ { print; }' \ |
|
$(top_builddir)/tools/@ICONV@/Makefile > $$TMP; \ |
|
mv -f $$TMP $(top_builddir)/tools/@ICONV@/Makefile; \ |
|
$(MAKE) -C $(top_builddir)/tools/@ICONV@ $(AM_MAKEFLAGS) all; \ |
|
else \ |
|
$(MAKE) -C $(top_builddir)/tools/@ICONV@ $(AM_MAKEFLAGS) all; \ |
|
fi |
|
|
$(top_builddir)/lapack/lapack/liblapack.a: |
$(top_builddir)/lapack/lapack/liblapack.a: |
(cd $(top_builddir)/lapack/lapack && $(MAKE) $(AM_MAKEFLAGS)) |
(cd $(top_builddir)/lapack/lapack && $(MAKE) $(AM_MAKEFLAGS)) |
Line 52 $(top_builddir)/lapack/lapack/liblapack.
|
Line 141 $(top_builddir)/lapack/lapack/liblapack.
|
$(top_builddir)/lapack/blas/libblas.a: |
$(top_builddir)/lapack/blas/libblas.a: |
(cd $(top_builddir)/lapack/blas && $(MAKE) $(AM_MAKEFLAGS)) |
(cd $(top_builddir)/lapack/blas && $(MAKE) $(AM_MAKEFLAGS)) |
|
|
$(top_builddir)/rpliconv/rpliconv: \ |
$(top_builddir)/rpliconv/rpliconv$(EXEEXT): \ |
$(top_builddir)/tools/@ICONV@/lib/.libs/libiconv.a |
$(top_builddir)/tools/@ICONV@/lib/.libs/@LIB_PREFIX@iconv.a |
(cd $(top_builddir)/rpliconv && $(MAKE) $(AM_MAKEFLAGS)) |
$(MAKE) -C $(top_builddir)/rpliconv $(AM_MAKEFLAGS) |
|
|
|
$(top_builddir)/rplawk/rplawk$(EXEEXT): |
|
$(MAKE) -C $(top_builddir)/rplawk $(AM_MAKEFLAGS) |
|
|
$(top_builddir)/tools/@FILE@/src/rplfile \ |
$(top_builddir)/tools/@FILE@/src/rplfile$(EXEEXT) \ |
$(top_builddir)/tools/@FILE@/magic/magic.mgc: \ |
$(top_builddir)/tools/@FILE@/magic/magic.mgc: \ |
$(top_builddir)/tools/@ICONV@/lib/.libs/libiconv.a |
$(top_builddir)/tools/@ICONV@/lib/.libs/@LIB_PREFIX@iconv.a |
(cd $(top_builddir)/tools/@FILE@ && $(MAKE) $(AM_MAKEFLAGS)) |
TMP=tmp.rplfile; \ |
|
awk \ |
|
'{ \ |
|
if (index($$0, "LDFLAGS") == 1) \ |
|
{ \ |
|
if (index($$0, "-static") == 0) \ |
|
{ \ |
|
printf("%s -static @ABI@\n", $$0); \ |
|
} \ |
|
else \ |
|
{ \ |
|
print; \ |
|
} \ |
|
} \ |
|
else \ |
|
{ \ |
|
if (index($$0, "CFLAGS") == 1) \ |
|
{ \ |
|
printf("CFLAGS = -O2 -g @ABI@\n"); \ |
|
} \ |
|
else \ |
|
{ \ |
|
print; \ |
|
} \ |
|
} \ |
|
}' tools/@FILE@/src/Makefile > $$TMP; \ |
|
mv -f $$TMP tools/@FILE@/src/Makefile |
|
$(MAKE) -C $(top_builddir)/tools/@FILE@ $(AM_MAKEFLAGS) |
|
$(CC) -o $(top_builddir)/tools/@FILE@/src/rplfile$(EXEEXT) \ |
|
@CFLAGS@ $(top_builddir)/tools/@FILE@/src/*.o \ |
|
$(shell grep '^LIBS =' $(top_builddir)/tools/@FILE@/Makefile | \ |
|
cut -d= -f2) $(LDFLAGS) |
|
|
|
$(top_builddir)/tools/@SQLITE@/.libs/@LIB_PREFIX@sqlite3.a: |
|
$(MAKE) -C $(top_builddir)/tools/@SQLITE@ $(AM_MAKEFLAGS) |
|
|
|
$(top_builddir)/tools/@OPENSSL@/@LIB_PREFIX@crypto.a \ |
|
$(top_builddir)/tools/@OPENSSL@/@LIB_PREFIX@ssl.a: |
|
if [ ! -f $(top_builddir)/tools/@OPENSSL@/@LIB_PREFIX@crypto.a \ |
|
-o ! -f $(top_builddir)/tools/@OPENSSL@/@LIB_PREFIX@ssl.a \ |
|
-o ! -f $(top_builddir)/tools/@OPENSSL@/tests_success ]; then \ |
|
if [ @OS@ = "OS2" ]; then \ |
|
(cd $(top_builddir)/tools/@OPENSSL@ && \ |
|
sed -e '1,$$s/-m486/-mtune=i586 -DOPENSSL_USE_IPV6=0/g' \ |
|
OS2-EMX.mak | \ |
|
sed -e '1,$$s/-DBN_ASM/-UBN_ASM/g' | \ |
|
sed -e '1,$$s/-DMD5_ASM/-UMD5_ASM/g' | \ |
|
sed -e '1,$$s/-DSHA1_ASM/-USHA1_ASM/g' | \ |
|
sed -e '1,$$s/-DOPENSSL_BN_ASM_PART_WORDS/-UOPENSSL_BN_ASM_PART_ASM/g' \ |
|
> OS2-EMX.mak2; \ |
|
$(MAKE) -j1 -f OS2-EMX.mak2 $(AM_MAKEFLAGS); \ |
|
touch tests_success); \ |
|
else \ |
|
(cd $(top_builddir)/tools/@OPENSSL@ && \ |
|
$(MAKE) -j1 $(AM_MAKEFLAGS); \ |
|
touch tests_success); \ |
|
fi \ |
|
fi |
|
|
|
$(top_builddir)/rplsums/rplmd5sum$(EXEEXT) \ |
|
$(top_builddir)/rplsums/rplsha1sum$(EXEEXT): \ |
|
$(top_builddir)/tools/@OPENSSL@/@LIB_PREFIX@crypto.a |
|
$(MAKE) -C $(top_builddir)/rplsums $(AM_MAKEFLAGS) |
|
|
|
$(top_builddir)/tools/@GPP@/src/gpp$(EXEEXT): |
|
$(MAKE) -C $(top_builddir)/tools/@GPP@ $(AM_MAKEFLAGS) |
|
|
|
$(top_builddir)/tools/@UNITS@/units$(EXEEXT): |
|
if [ @OS@ = OpenBSD ]; then \ |
|
TMP=tmp.units; \ |
|
sed -e 's/^DEFS = -DUNITSFILE/DEFS = -Dmalloc=malloc -DUNITSFILE/g' \ |
|
@UNITS@/Makefile > $$TMP; \ |
|
mv -f $$TMP @UNITS@/Makefile; \ |
|
fi; \ |
|
if [ x$(srcdir) != x$(top_builddir) ]; then \ |
|
cp -f $(srcdir)/tools/@UNITS@/units_cur $(top_builddir)/tools/@UNITS@; \ |
|
fi |
|
$(MAKE) -C $(top_builddir)/tools/@UNITS@ $(AM_MAKEFLAGS) |
|
|
all: $(top_builddir)/tools/@NCURSES@/lib/libncurses.a \ |
.NOTPARALLEL: $(top_builddir)/tools/@FILE@/src/rplfile$(EXEEXT) \ |
$(top_builddir)/tools/@READLINE@/libreadline.a \ |
$(top_builddir)/tools/@FILE@/magic/magic.mgc |
$(top_builddir)/tools/@READLINE@/libhistory.a \ |
|
$(top_builddir)/tools/@GSL@/.libs/libgsl.a \ |
.NOTPARALLEL: $(top_builddir)/tools/@READLINE@/@LIB_PREFIX@readline.a \ |
|
$(top_builddir)/tools/@READLINE@/@LIB_PREFIX@history.a |
|
|
|
.NOTPARALLEL: $(top_builddir)/tools/@OPENSSL@/@LIB_PREFIX@crypto.a \ |
|
$(top_builddir)/tools/@OPENSSL@/@LIB_PREFIX@ssl.a |
|
|
|
.NOTPARALLEL: $(top_builddir)/rplsums/rplmd5sum$(EXEEXT) \ |
|
$(top_builddir)/rplsums/rplsha1sum$(EXEEXT) |
|
|
|
install-strip: |
|
$(MAKE) $(AM_MAKEFLAGS) install |
|
|
|
$(top_builddir)/rplcas/lib/librplcas.a: \ |
|
$(top_builddir)/tools/@GSL@/.libs/@LIB_PREFIX@gsl.a |
|
$(MAKE) -C $(top_builddir)/rplcas $(AM_MAKEFLAGS) |
|
|
|
$(top_builddir)/tools/@OPENMOTIF@/lib/Xm/.libs/libXm.a: \ |
|
$(top_builddir)/tools/@LIBXPM@/src/.libs/libXpm.a |
|
$(MAKE) -C $(top_builddir)/tools/@OPENMOTIF@ -j1 |
|
|
|
$(top_builddir)/tools/@LIBXPM@/src/.libs/libXpm.a: |
|
$(MAKE) -C $(top_builddir)/tools/@LIBXPM@ $(AM_MAKEFLAGS) |
|
|
|
$(top_builddir)/tools/@SIGSEGV@/src/.libs/@LIB_PREFIX@sigsegv.a: |
|
$(MAKE) -C $(top_builddir)/tools/@SIGSEGV@ $(AM_MAKEFLAGS) |
|
|
|
all-rpl: $(top_builddir)/tools/@NCURSES@/lib/@LIB_PREFIX@ncurses.a \ |
|
$(top_builddir)/tools/@READLINE@/@LIB_PREFIX@readline.a \ |
|
$(top_builddir)/tools/@READLINE@/@LIB_PREFIX@history.a \ |
|
$(top_builddir)/tools/@GSL@/.libs/@LIB_PREFIX@gsl.a \ |
|
$(top_builddir)/tools/@SQLITE@/.libs/@LIB_PREFIX@sqlite3.a \ |
|
$(top_builddir)/tools/@OPENSSL@/@LIB_PREFIX@crypto.a \ |
|
$(top_builddir)/tools/@OPENSSL@/libssl.a \ |
$(top_builddir)/lapack/lapack/liblapack.a \ |
$(top_builddir)/lapack/lapack/liblapack.a \ |
$(top_builddir)/lapack/blas/libblas.a \ |
$(top_builddir)/lapack/blas/libblas.a \ |
$(top_builddir)/rpliconv/rpliconv \ |
$(top_builddir)/rpliconv/rpliconv$(EXEEXT) \ |
$(top_builddir)/tools/@FILE@/src/rplfile \ |
$(top_builddir)/rplawk/rplawk$(EXEEXT) \ |
$(top_builddir)/tools/@FILE@/magic/magic.mgc |
$(top_builddir)/tools/@FILE@/src/rplfile$(EXEEXT) \ |
(cd $(top_builddir)/src && $(MAKE) $(AM_MAKEFLAGS)) |
$(top_builddir)/tools/@FILE@/magic/magic.mgc \ |
|
$(top_builddir)/rplsums/rplmd5sum$(EXEEXT) \ |
|
$(top_builddir)/rplsums/rplsha1sum$(EXEEXT) \ |
|
$(top_builddir)/tools/@GPP@/src/gpp$(EXEEXT) \ |
|
$(top_builddir)/tools/@UNITS@/units$(EXEEXT) \ |
|
$(top_builddir)/tools/@SIGSEGV@/src/.libs/@LIB_PREFIX@sigsegv.a \ |
|
@LIBRPLCAS@ @LIBMOTIF@ |
|
# Cette règle n'est là que pour forcer la compilation de Gnuplot. |
|
$(MAKE) -C $(top_builddir)/tools $(AM_MAKEFLAGS) |
|
$(MAKE) -C $(top_builddir)/rpltags $(AM_MAKEFLAGS) |
|
$(MAKE) -C $(top_builddir)/src $(AM_MAKEFLAGS) |
|
|
|
debian: all |
|
$(MAKE) -C $(top_builddir)/src $(AM_MAKEFLAGS) librpl |
|
$(MKDIR_P) $(top_builddir)/debian/$(prefix)/bin |
|
for i in $(top_builddir)/src/rpl$(EXEEXT) $(top_builddir)/scripts/rplcc \ |
|
$(top_builddir)/scripts/rpllink $(top_builddir)/scripts/mkrplso \ |
|
$(top_builddir)/tools/@FILE@/src/rplfile$(EXEEXT) \ |
|
$(top_builddir)/rpltags/rpltags$(EXEEXT) \ |
|
$(top_builddir)/rplawk/rplawk$(EXEEXT) \ |
|
$(top_builddir)/rpliconv/rpliconv$(EXEEXT); \ |
|
do cp -f $$i $(top_builddir)/debian/$(prefix)/bin; \ |
|
done |
|
cp $(top_builddir)/tools/@UNITS@/units$(EXEEXT) \ |
|
$(top_builddir)/debian/$(prefix)/bin/rplconvert$(EXEEXT) |
|
cp $(top_builddir)/tools/@GPP@/src/gpp$(EXEEXT) \ |
|
$(top_builddir)/debian/$(prefix)/bin/rplpp$(EXEEXT) |
|
$(MKDIR_P) $(top_builddir)/debian/$(prefix)/include |
|
for i in $(srcdir)/src/librpl.h $(top_builddir)/rplconfig.h \ |
|
$(srcdir)/src/rpl.h $(srcdir)/src/rpltypes.h \ |
|
$(top_builddir)/src/librplprototypes.h \ |
|
$(srcdir)/src/rplexternals.h $(top_builddir)/src/rpl.inc; \ |
|
do cp -f $$i $(top_builddir)/debian/$(prefix)/include; \ |
|
done |
|
$(MKDIR_P) $(top_builddir)/debian/$(prefix)/lib |
|
cp -f $(top_builddir)/src/librpl.a $(top_builddir)/debian/$(prefix)/lib |
|
for j in man/man1 man/fr_FR/man1; \ |
|
do \ |
|
$(MKDIR_P) $(top_builddir)/debian/$(prefix)/$$j; \ |
|
for i in $(top_builddir)/$$j/gpp.1 $(top_builddir)/$$j/mkrplso.1 \ |
|
$(top_builddir)/$$j/rpl.1 $(top_builddir)/$$j/rplcc.1 \ |
|
$(top_builddir)/$$j/rpllink.1 $(top_builddir)/$$j/rplpp.1 \ |
|
$(top_builddir)/$$j/rpltags.1; \ |
|
do \ |
|
if [ -f $$i ]; then \ |
|
cp -f $$i $(top_builddir)/debian/$(prefix)/$$j; \ |
|
fi; \ |
|
done; \ |
|
done |
|
$(MKDIR_P) $(top_builddir)/debian/$(prefix)/share |
|
cp -f $(top_builddir)/tools/@FILE@/magic/magic.mgc \ |
|
$(top_builddir)/debian/$(prefix)/share/rplfiles.mgc |
|
cp -f $(srcdir)/tools/@UNITS@/definitions.units \ |
|
$(top_builddir)/debian/$(prefix)/share/rplunits.tmp |
|
sed 's/^!include currency.units//g' \ |
|
$(top_builddir)/debian/$(prefix)/share/rplunits.tmp \ |
|
> $(top_builddir)/debian/$(prefix)/share/rplunits |
|
rm -f $(top_builddir)/debian/$(prefix)/share/rplunits.tmp |
|
if [ -e $(top_builddir)/tools/@GNUPLOT@/src/gnuplot$(EXEEXT) ]; then \ |
|
if [ -e $(prefix)/bin/gnuplot$(EXEEXT) ]; then \ |
|
mv -f $(prefix)/bin/gnuplot$(EXEEXT) \ |
|
$(prefix)/bin/gnuplot$(EXEEXT).orig; \ |
|
mv -f $(prefix)/share/gnuplot $(prefix)/share/gnuplot.orig; \ |
|
mv -f $(prefix)/libexec/gnuplot $(prefix)/libexec/gnuplot.orig; \ |
|
(cd $(top_builddir)/tools/@GNUPLOT@ && $(MAKE) install); \ |
|
cp -f $(prefix)/bin/gnuplot$(EXEEXT) \ |
|
$(top_builddir)/debian/$(prefix)/bin; \ |
|
cp -af $(prefix)/share/gnuplot \ |
|
$(top_builddir)/debian/$(prefix)/share; \ |
|
$(MKDIR_P) $(top_builddir)/debian/$(prefix)/libexec; \ |
|
cp -af $(prefix)/libexec/gnuplot \ |
|
$(top_builddir)/debian/$(prefix)/libexec; \ |
|
(cd $(top_builddir)/tools/@GNUPLOT@ && $(MAKE) uninstall); \ |
|
rm -f $(prefix)/bin/gnuplot$(EXEEXT); \ |
|
rm -rf $(prefix)/share/gnuplot; \ |
|
rm -rf $(prefix)/libexec/gnuplot; \ |
|
mv $(prefix)/bin/gnuplot$(EXEEXT).orig \ |
|
$(prefix)/bin/gnuplot$(EXEEXT); \ |
|
mv -f $(prefix)/share/gnuplot.orig $(prefix)/share/gnuplot; \ |
|
mv -f $(prefix)/libexec/gnuplot.orig $(prefix)/libexec/gnuplot; \ |
|
else \ |
|
(cd $(top_builddir)/tools/@GNUPLOT@ && $(MAKE) install); \ |
|
cp -f $(prefix)/bin/gnuplot$(EXEEXT) \ |
|
$(top_builddir)/debian/$(prefix)/bin; \ |
|
cp -af $(prefix)/share/gnuplot \ |
|
$(top_builddir)/debian/$(prefix)/share; \ |
|
$(MKDIR_P) $(top_builddir)/debian/$(prefix)/libexec; \ |
|
cp -af $(prefix)/libexec/gnuplot \ |
|
$(top_builddir)/debian/$(prefix)/libexec; \ |
|
(cd $(top_builddir)/tools/@GNUPLOT@ && $(MAKE) uninstall); \ |
|
fi; \ |
|
fi |
|
$(MKDIR_P) $(top_builddir)/debian/DEBIAN |
|
cp -f $(top_builddir)/DEBIAN/* $(top_builddir)/debian/DEBIAN |
|
(cd $(top_builddir) && dpkg-deb --build debian debian) |