Annotation of rpl/Makefile.am, revision 1.68
1.26 bertrand 1: SUBDIRS = tools rplsums rpliconv rplawk lapack/blas lapack/lapack rplcas src \
1.5 bertrand 2: rpltags scripts man doc
1.4 bertrand 3:
1.25 bertrand 4: include_HEADERS = rplconfig.h
5:
1.4 bertrand 6: EXTRA_DIST = LIMITATIONS Licence_CeCILL_V2-fr.txt Licence_CeCILL_V2-en.txt \
1.65 bertrand 7: HEADER.in lapack/COPYING lapack/RELEASE autogen.sh \
1.4 bertrand 8: tests/tests.tar.gz vim/indent/rpl.vim vim/ftplugin/rpl.vim \
9: vim/syntax/rpl.vim examples/obele.rpl examples/appel.tar.gz \
1.42 bertrand 10: examples/external.tar.gz DEBIAN/control.in \
1.27 bertrand 11: rplcas/@GMP@.tar.gz rplcas/@MPFR@.tar.gz rplcas/@NTL@.tar.gz \
12: rplcas/@COCOA@.tar.gz rplcas/@PARI@.tar.gz rplcas/@GIAC@.tar.gz
1.1 bertrand 13:
1.60 bertrand 14: all:
1.68 ! bertrand 15: @if [ x"$(shell $(MAKE) -v | grep '^GNU Make')" != x ]; then \
1.60 bertrand 16: echo; \
17: echo MAKE=$(MAKE); \
18: echo "Please use GNU Make !"; \
19: echo; \
20: false; \
21: fi
22: $(MAKE) all-rpl
23:
1.3 bertrand 24: licences:
1.65 bertrand 25: cp -f $(top_builddir)/HEADER $(srcdir)
1.29 bertrand 26: $(MAKE) -C src $@
1.3 bertrand 27:
1.63 bertrand 28: purge:
1.3 bertrand 29: for i in @NCURSES@ @READLINE@ @UNITS@ @GSL@ @GPP@ @GNUPLOT_COMPILATION@ \
1.57 bertrand 30: @FILE@ @ICONV@ @SQLITE@ @SIGSEGV@ @BUILD_OPENMOTIF@; \
1.3 bertrand 31: do \
1.17 bertrand 32: rm -rf $(srcdir)/tools/$$i; \
1.63 bertrand 33: rm -rf $(top_builddir)/tools/$$i; \
1.3 bertrand 34: done;
1.63 bertrand 35: for i in @GMP@ @MPFR@ @NTL@ @COCOA@ @PARI@ @GIAC@; \
1.62 bertrand 36: do \
37: if [ -d $(srcdir)/rplcas/$$i ]; then \
38: rm -rf $(srcdir)/rplcas/$$i; \
39: fi; \
40: if [ -d $(top_builddir)/rplcas/$$i ]; then \
41: rm -rf $(top_builddir)/rplcas/$$i; \
42: fi; \
43: done;
1.63 bertrand 44: for i in bin lib include share; \
45: do \
46: if [ -d $(top_builddir)/rplcas/$$i ]; then \
47: rm -rf $(top_builddir)/rplcas/$$i; \
48: fi; \
49: done;
1.57 bertrand 50: rm -f $(top_builddir)/tools/openmotif.lib
51: rm -rf $(top_builddir)/tools/@OPENSSL@
1.67 bertrand 52: rm -rf $(top_builddir)/tools/@ZLIB@
1.1 bertrand 53:
1.32 bertrand 54: $(top_builddir)/tools/@NCURSES@/lib/@LIB_PREFIX@ncurses.a:
1.7 bertrand 55: for i in $(shell find tools/@NCURSES@ -name Makefile \
56: -exec grep static {} /dev/null \; | cut -d: -f1); \
1.3 bertrand 57: do \
1.7 bertrand 58: echo -n Checking $$i; \
1.31 bertrand 59: TMP=tmp.ncurses; \
1.7 bertrand 60: if [ -n "$$(grep static $$i | grep dynamic)" ]; then \
61: awk \
62: '{ \
63: if (index($$0, "-static") != 0 && index($$0, "-dynamic") != 0) \
64: { \
65: for(j = 1; j <= NF; j++) \
66: { \
67: if (index($$j, "-static") == 0) \
68: { \
69: printf("%s ", $$j); \
70: } \
71: } \
72: printf("\n"); \
73: } \
74: else \
75: { \
76: print; \
77: } \
78: }' $$i > $$TMP; \
1.17 bertrand 79: mv -f $$TMP $$i; \
1.7 bertrand 80: echo -n " (fixed)"; \
81: else \
82: echo -n " (nothing to do)"; \
1.17 bertrand 83: rm -f $$TMP; \
1.7 bertrand 84: fi; \
85: echo .; \
1.2 bertrand 86: done;
1.22 bertrand 87: for i in tools/@NCURSES@/test/Makefile; \
88: do \
89: echo -n Checking $$i; \
1.31 bertrand 90: TMP=tmp.ncurses_test; \
1.22 bertrand 91: awk \
92: '/^TEST_ARGS/ \
1.32 bertrand 93: { printf("TEST_ARGS = ../lib/@LIB_PREFIX@form.a \
94: ../lib/@LIB_PREFIX@menu.a "); \
95: printf("../lib/@LIB_PREFIX@panel.a \
96: ../lib/@LIB_PREFIX@ncurses.a\n"); } \
1.22 bertrand 97: ! /^TEST_ARGS/ \
98: { print; }' tools/@NCURSES@/test/Makefile > $$TMP; \
99: mv -f $$TMP $$i; \
100: echo .; \
101: done;
1.14 bertrand 102: if [ @OS@ = "OS2" ]; then \
1.35 bertrand 103: TMP=tmp.ncurses_test_os2; \
1.11 bertrand 104: awk \
1.14 bertrand 105: '/^CXX_AR[ \t]/ \
106: { printf("CXX_AR = $(AR)\n"); } \
107: ! /^CXX_AR[ \t]/ \
108: { print; }' \
109: $(top_builddir)/tools/@NCURSES@/c++/Makefile | \
110: awk \
111: '/^CXX_ARFLAGS[ \t]/ \
112: { printf("CXX_ARFLAGS = $(ARFLAGS)\n"); } \
113: ! /^CXX_ARFLAGS[ \t]/ \
114: { print; }' | \
115: awk \
116: '/^CXX[ \t]/ \
117: { printf("CXX = g++\n"); } \
118: ! /^CXX[ \t]/ \
119: { print; }' > $$TMP; \
1.17 bertrand 120: mv -f $$TMP $(top_builddir)/tools/@NCURSES@/c++/Makefile; \
1.14 bertrand 121: fi;
122: $(MAKE) -C $(top_builddir)/tools/@NCURSES@ $(AM_MAKEFLAGS)
1.3 bertrand 123:
1.34 bertrand 124: $(top_builddir)/tools/@READLINE@/libreadline.a \
125: $(top_builddir)/tools/@READLINE@/libhistory.a:
1.14 bertrand 126: $(MAKE) -C $(top_builddir)/tools/@READLINE@ $(AM_MAKEFLAGS)
1.3 bertrand 127:
1.67 bertrand 128: $(top_builddir)/tools/@ZLIB@/libz.a:
129: $(MAKE) -C $(top_builddir)/tools/@ZLIB@ $(AM_MAKEFLAGS)
130:
1.32 bertrand 131: $(top_builddir)/tools/@GSL@/.libs/@LIB_PREFIX@gsl.a:
1.17 bertrand 132: # Quick and dirty hack pour avaliser le remplacement de ${1 + "$@"}
133: # dans ltmain.sh et propager les modifications dans le script libtool.
134: if [ @OS@ = "OS2" ]; then \
135: (cd $(top_builddir)/tools/@GSL@ && configure --disable-shared;); \
1.16 bertrand 136: fi
137: $(MAKE) -C $(top_builddir)/tools/@GSL@ $(AM_MAKEFLAGS)
1.3 bertrand 138:
1.32 bertrand 139: $(top_builddir)/tools/@ICONV@/lib/.libs/@LIB_PREFIX@iconv.a:
1.4 bertrand 140: # La dépendance est faite par rpliconv.
1.14 bertrand 141: if [ @OS@ = "OS2" ]; then \
1.31 bertrand 142: TMP=tmp.libiconv; \
1.14 bertrand 143: awk '! /^[ \t]cd po/ { print; }' \
144: $(top_builddir)/tools/@ICONV@/Makefile > $$TMP; \
1.17 bertrand 145: mv -f $$TMP $(top_builddir)/tools/@ICONV@/Makefile; \
1.14 bertrand 146: $(MAKE) -C $(top_builddir)/tools/@ICONV@ $(AM_MAKEFLAGS) all; \
147: else \
148: $(MAKE) -C $(top_builddir)/tools/@ICONV@ $(AM_MAKEFLAGS) all; \
149: fi
1.3 bertrand 150:
151: $(top_builddir)/lapack/lapack/liblapack.a:
152: (cd $(top_builddir)/lapack/lapack && $(MAKE) $(AM_MAKEFLAGS))
153:
154: $(top_builddir)/lapack/blas/libblas.a:
155: (cd $(top_builddir)/lapack/blas && $(MAKE) $(AM_MAKEFLAGS))
156:
1.12 bertrand 157: $(top_builddir)/rpliconv/rpliconv$(EXEEXT): \
1.32 bertrand 158: $(top_builddir)/tools/@ICONV@/lib/.libs/@LIB_PREFIX@iconv.a
1.14 bertrand 159: $(MAKE) -C $(top_builddir)/rpliconv $(AM_MAKEFLAGS)
1.3 bertrand 160:
1.20 bertrand 161: $(top_builddir)/rplawk/rplawk$(EXEEXT):
162: $(MAKE) -C $(top_builddir)/rplawk $(AM_MAKEFLAGS)
163:
1.14 bertrand 164: $(top_builddir)/tools/@FILE@/src/rplfile$(EXEEXT) \
1.3 bertrand 165: $(top_builddir)/tools/@FILE@/magic/magic.mgc: \
1.32 bertrand 166: $(top_builddir)/tools/@ICONV@/lib/.libs/@LIB_PREFIX@iconv.a
1.31 bertrand 167: TMP=tmp.rplfile; \
1.7 bertrand 168: awk \
169: '{ \
170: if (index($$0, "LDFLAGS") == 1) \
171: { \
172: if (index($$0, "-static") == 0) \
173: { \
1.49 bertrand 174: printf("%s -static @ABI@\n", $$0); \
1.7 bertrand 175: } \
176: else \
177: { \
178: print; \
179: } \
180: } \
181: else \
182: { \
1.46 bertrand 183: if (index($$0, "CFLAGS") == 1) \
184: { \
1.49 bertrand 185: printf("CFLAGS = -O2 -g @ABI@\n"); \
1.46 bertrand 186: } \
187: else \
188: { \
189: print; \
190: } \
1.7 bertrand 191: } \
192: }' tools/@FILE@/src/Makefile > $$TMP; \
1.17 bertrand 193: mv -f $$TMP tools/@FILE@/src/Makefile
1.14 bertrand 194: $(MAKE) -C $(top_builddir)/tools/@FILE@ $(AM_MAKEFLAGS)
1.21 bertrand 195: $(CC) -o $(top_builddir)/tools/@FILE@/src/rplfile$(EXEEXT) \
1.49 bertrand 196: @CFLAGS@ $(top_builddir)/tools/@FILE@/src/*.o \
1.21 bertrand 197: $(shell grep '^LIBS =' $(top_builddir)/tools/@FILE@/Makefile | \
198: cut -d= -f2) $(LDFLAGS)
1.3 bertrand 199:
1.32 bertrand 200: $(top_builddir)/tools/@SQLITE@/.libs/@LIB_PREFIX@sqlite3.a:
1.14 bertrand 201: $(MAKE) -C $(top_builddir)/tools/@SQLITE@ $(AM_MAKEFLAGS)
1.5 bertrand 202:
1.32 bertrand 203: $(top_builddir)/tools/@OPENSSL@/@LIB_PREFIX@crypto.a \
204: $(top_builddir)/tools/@OPENSSL@/@LIB_PREFIX@ssl.a:
1.49 bertrand 205: if [ ! -f $(top_builddir)/tools/@OPENSSL@/@LIB_PREFIX@crypto.a \
206: -o ! -f $(top_builddir)/tools/@OPENSSL@/@LIB_PREFIX@ssl.a \
207: -o ! -f $(top_builddir)/tools/@OPENSSL@/tests_success ]; then \
1.47 bertrand 208: if [ @OS@ = "OS2" ]; then \
209: (cd $(top_builddir)/tools/@OPENSSL@ && \
210: sed -e '1,$$s/-m486/-mtune=i586 -DOPENSSL_USE_IPV6=0/g' \
211: OS2-EMX.mak | \
212: sed -e '1,$$s/-DBN_ASM/-UBN_ASM/g' | \
213: sed -e '1,$$s/-DMD5_ASM/-UMD5_ASM/g' | \
214: sed -e '1,$$s/-DSHA1_ASM/-USHA1_ASM/g' | \
215: sed -e '1,$$s/-DOPENSSL_BN_ASM_PART_WORDS/-UOPENSSL_BN_ASM_PART_ASM/g' \
216: > OS2-EMX.mak2; \
217: $(MAKE) -j1 -f OS2-EMX.mak2 $(AM_MAKEFLAGS); \
218: touch tests_success); \
219: else \
220: (cd $(top_builddir)/tools/@OPENSSL@ && \
221: $(MAKE) -j1 $(AM_MAKEFLAGS); \
222: touch tests_success); \
223: fi \
1.14 bertrand 224: fi
1.5 bertrand 225:
1.38 bertrand 226: $(top_builddir)/rplsums/rplmd5sum$(EXEEXT) \
227: $(top_builddir)/rplsums/rplsha1sum$(EXEEXT): \
1.32 bertrand 228: $(top_builddir)/tools/@OPENSSL@/@LIB_PREFIX@crypto.a
1.14 bertrand 229: $(MAKE) -C $(top_builddir)/rplsums $(AM_MAKEFLAGS)
1.5 bertrand 230:
1.12 bertrand 231: $(top_builddir)/tools/@GPP@/src/gpp$(EXEEXT):
1.14 bertrand 232: $(MAKE) -C $(top_builddir)/tools/@GPP@ $(AM_MAKEFLAGS)
1.5 bertrand 233:
1.66 bertrand 234: $(top_builddir)/tools/@UNITS@/units$(EXEEXT) \
235: $(top_builddir)/tools/@UNITS@/units_cur:
1.61 bertrand 236: if [ @OS@ = OpenBSD ]; then \
1.47 bertrand 237: TMP=tmp.units; \
238: sed -e 's/^DEFS = -DUNITSFILE/DEFS = -Dmalloc=malloc -DUNITSFILE/g' \
239: @UNITS@/Makefile > $$TMP; \
240: mv -f $$TMP @UNITS@/Makefile; \
241: fi; \
1.61 bertrand 242: if [ x$(srcdir) != x$(top_builddir) ]; then \
243: cp -f $(srcdir)/tools/@UNITS@/units_cur $(top_builddir)/tools/@UNITS@; \
244: fi
1.40 bertrand 245: $(MAKE) -C $(top_builddir)/tools/@UNITS@ $(AM_MAKEFLAGS)
246:
1.12 bertrand 247: .NOTPARALLEL: $(top_builddir)/tools/@FILE@/src/rplfile$(EXEEXT) \
1.4 bertrand 248: $(top_builddir)/tools/@FILE@/magic/magic.mgc
249:
1.32 bertrand 250: .NOTPARALLEL: $(top_builddir)/tools/@READLINE@/@LIB_PREFIX@readline.a \
251: $(top_builddir)/tools/@READLINE@/@LIB_PREFIX@history.a
1.4 bertrand 252:
1.32 bertrand 253: .NOTPARALLEL: $(top_builddir)/tools/@OPENSSL@/@LIB_PREFIX@crypto.a \
254: $(top_builddir)/tools/@OPENSSL@/@LIB_PREFIX@ssl.a
1.5 bertrand 255:
1.38 bertrand 256: .NOTPARALLEL: $(top_builddir)/rplsums/rplmd5sum$(EXEEXT) \
257: $(top_builddir)/rplsums/rplsha1sum$(EXEEXT)
1.5 bertrand 258:
1.13 bertrand 259: install-strip:
260: $(MAKE) $(AM_MAKEFLAGS) install
261:
1.28 bertrand 262: $(top_builddir)/rplcas/lib/librplcas.a: \
1.32 bertrand 263: $(top_builddir)/tools/@GSL@/.libs/@LIB_PREFIX@gsl.a
1.27 bertrand 264: $(MAKE) -C $(top_builddir)/rplcas $(AM_MAKEFLAGS)
265:
1.40 bertrand 266: $(top_builddir)/tools/@OPENMOTIF@/lib/Xm/.libs/libXm.a: \
267: $(top_builddir)/tools/@LIBXPM@/src/.libs/libXpm.a
1.41 bertrand 268: $(MAKE) -C $(top_builddir)/tools/@OPENMOTIF@ -j1
1.40 bertrand 269:
270: $(top_builddir)/tools/@LIBXPM@/src/.libs/libXpm.a:
271: $(MAKE) -C $(top_builddir)/tools/@LIBXPM@ $(AM_MAKEFLAGS)
272:
273: $(top_builddir)/tools/@SIGSEGV@/src/.libs/@LIB_PREFIX@sigsegv.a:
274: $(MAKE) -C $(top_builddir)/tools/@SIGSEGV@ $(AM_MAKEFLAGS)
275:
1.60 bertrand 276: all-rpl: $(top_builddir)/tools/@NCURSES@/lib/@LIB_PREFIX@ncurses.a \
1.32 bertrand 277: $(top_builddir)/tools/@READLINE@/@LIB_PREFIX@readline.a \
278: $(top_builddir)/tools/@READLINE@/@LIB_PREFIX@history.a \
279: $(top_builddir)/tools/@GSL@/.libs/@LIB_PREFIX@gsl.a \
280: $(top_builddir)/tools/@SQLITE@/.libs/@LIB_PREFIX@sqlite3.a \
281: $(top_builddir)/tools/@OPENSSL@/@LIB_PREFIX@crypto.a \
1.5 bertrand 282: $(top_builddir)/tools/@OPENSSL@/libssl.a \
1.67 bertrand 283: $(top_builddir)/tools/@ZLIB@/libz.a \
1.3 bertrand 284: $(top_builddir)/lapack/lapack/liblapack.a \
285: $(top_builddir)/lapack/blas/libblas.a \
1.12 bertrand 286: $(top_builddir)/rpliconv/rpliconv$(EXEEXT) \
1.20 bertrand 287: $(top_builddir)/rplawk/rplawk$(EXEEXT) \
1.12 bertrand 288: $(top_builddir)/tools/@FILE@/src/rplfile$(EXEEXT) \
1.5 bertrand 289: $(top_builddir)/tools/@FILE@/magic/magic.mgc \
1.33 bertrand 290: $(top_builddir)/rplsums/rplmd5sum$(EXEEXT) \
291: $(top_builddir)/rplsums/rplsha1sum$(EXEEXT) \
1.27 bertrand 292: $(top_builddir)/tools/@GPP@/src/gpp$(EXEEXT) \
1.39 bertrand 293: $(top_builddir)/tools/@UNITS@/units$(EXEEXT) \
1.40 bertrand 294: $(top_builddir)/tools/@SIGSEGV@/src/.libs/@LIB_PREFIX@sigsegv.a \
1.38 bertrand 295: @LIBRPLCAS@ @LIBMOTIF@
1.4 bertrand 296: # Cette règle n'est là que pour forcer la compilation de Gnuplot.
1.14 bertrand 297: $(MAKE) -C $(top_builddir)/tools $(AM_MAKEFLAGS)
298: $(MAKE) -C $(top_builddir)/rpltags $(AM_MAKEFLAGS)
299: $(MAKE) -C $(top_builddir)/src $(AM_MAKEFLAGS)
1.42 bertrand 300:
1.44 bertrand 301: debian: all
1.51 bertrand 302: $(MAKE) -C $(top_builddir)/src $(AM_MAKEFLAGS) librpl
1.42 bertrand 303: $(MKDIR_P) $(top_builddir)/debian/$(prefix)/bin
1.44 bertrand 304: for i in $(top_builddir)/src/rpl$(EXEEXT) $(top_builddir)/scripts/rplcc \
305: $(top_builddir)/scripts/rpllink $(top_builddir)/scripts/mkrplso \
306: $(top_builddir)/tools/@FILE@/src/rplfile$(EXEEXT) \
307: $(top_builddir)/rpltags/rpltags$(EXEEXT) \
308: $(top_builddir)/rplawk/rplawk$(EXEEXT) \
309: $(top_builddir)/rpliconv/rpliconv$(EXEEXT); \
310: do cp -f $$i $(top_builddir)/debian/$(prefix)/bin; \
1.42 bertrand 311: done
1.44 bertrand 312: cp $(top_builddir)/tools/@UNITS@/units$(EXEEXT) \
313: $(top_builddir)/debian/$(prefix)/bin/rplconvert$(EXEEXT)
314: cp $(top_builddir)/tools/@GPP@/src/gpp$(EXEEXT) \
315: $(top_builddir)/debian/$(prefix)/bin/rplpp$(EXEEXT)
1.42 bertrand 316: $(MKDIR_P) $(top_builddir)/debian/$(prefix)/include
1.44 bertrand 317: for i in $(srcdir)/src/librpl.h $(top_builddir)/rplconfig.h \
318: $(srcdir)/src/rpl.h $(srcdir)/src/rpltypes.h \
319: $(top_builddir)/src/librplprototypes.h \
320: $(srcdir)/src/rplexternals.h $(top_builddir)/src/rpl.inc; \
321: do cp -f $$i $(top_builddir)/debian/$(prefix)/include; \
1.42 bertrand 322: done
323: $(MKDIR_P) $(top_builddir)/debian/$(prefix)/lib
1.44 bertrand 324: cp -f $(top_builddir)/src/librpl.a $(top_builddir)/debian/$(prefix)/lib
1.42 bertrand 325: for j in man/man1 man/fr_FR/man1; \
326: do \
327: $(MKDIR_P) $(top_builddir)/debian/$(prefix)/$$j; \
1.44 bertrand 328: for i in $(top_builddir)/$$j/gpp.1 $(top_builddir)/$$j/mkrplso.1 \
329: $(top_builddir)/$$j/rpl.1 $(top_builddir)/$$j/rplcc.1 \
330: $(top_builddir)/$$j/rpllink.1 $(top_builddir)/$$j/rplpp.1 \
331: $(top_builddir)/$$j/rpltags.1; \
1.42 bertrand 332: do \
1.44 bertrand 333: if [ -f $$i ]; then \
334: cp -f $$i $(top_builddir)/debian/$(prefix)/$$j; \
1.42 bertrand 335: fi; \
336: done; \
337: done
338: $(MKDIR_P) $(top_builddir)/debian/$(prefix)/share
1.44 bertrand 339: cp -f $(top_builddir)/tools/@FILE@/magic/magic.mgc \
1.50 bertrand 340: $(top_builddir)/debian/$(prefix)/share/rplfiles.mgc
1.59 bertrand 341: cp -f $(srcdir)/tools/@UNITS@/definitions.units \
342: $(top_builddir)/debian/$(prefix)/share/rplunits.tmp
343: sed 's/^!include currency.units//g' \
344: $(top_builddir)/debian/$(prefix)/share/rplunits.tmp \
345: > $(top_builddir)/debian/$(prefix)/share/rplunits
346: rm -f $(top_builddir)/debian/$(prefix)/share/rplunits.tmp
1.45 bertrand 347: if [ -e $(top_builddir)/tools/@GNUPLOT@/src/gnuplot$(EXEEXT) ]; then \
348: if [ -e $(prefix)/bin/gnuplot$(EXEEXT) ]; then \
349: mv -f $(prefix)/bin/gnuplot$(EXEEXT) \
350: $(prefix)/bin/gnuplot$(EXEEXT).orig; \
351: mv -f $(prefix)/share/gnuplot $(prefix)/share/gnuplot.orig; \
352: mv -f $(prefix)/libexec/gnuplot $(prefix)/libexec/gnuplot.orig; \
353: (cd $(top_builddir)/tools/@GNUPLOT@ && $(MAKE) install); \
354: cp -f $(prefix)/bin/gnuplot$(EXEEXT) \
355: $(top_builddir)/debian/$(prefix)/bin; \
356: cp -af $(prefix)/share/gnuplot \
357: $(top_builddir)/debian/$(prefix)/share; \
358: $(MKDIR_P) $(top_builddir)/debian/$(prefix)/libexec; \
359: cp -af $(prefix)/libexec/gnuplot \
360: $(top_builddir)/debian/$(prefix)/libexec; \
361: (cd $(top_builddir)/tools/@GNUPLOT@ && $(MAKE) uninstall); \
362: rm -f $(prefix)/bin/gnuplot$(EXEEXT); \
363: rm -rf $(prefix)/share/gnuplot; \
364: rm -rf $(prefix)/libexec/gnuplot; \
365: mv $(prefix)/bin/gnuplot$(EXEEXT).orig \
366: $(prefix)/bin/gnuplot$(EXEEXT); \
367: mv -f $(prefix)/share/gnuplot.orig $(prefix)/share/gnuplot; \
368: mv -f $(prefix)/libexec/gnuplot.orig $(prefix)/libexec/gnuplot; \
369: else \
370: (cd $(top_builddir)/tools/@GNUPLOT@ && $(MAKE) install); \
371: cp -f $(prefix)/bin/gnuplot$(EXEEXT) \
372: $(top_builddir)/debian/$(prefix)/bin; \
373: cp -af $(prefix)/share/gnuplot \
374: $(top_builddir)/debian/$(prefix)/share; \
375: $(MKDIR_P) $(top_builddir)/debian/$(prefix)/libexec; \
376: cp -af $(prefix)/libexec/gnuplot \
377: $(top_builddir)/debian/$(prefix)/libexec; \
378: (cd $(top_builddir)/tools/@GNUPLOT@ && $(MAKE) uninstall); \
379: fi; \
380: fi
1.42 bertrand 381: $(MKDIR_P) $(top_builddir)/debian/DEBIAN
382: cp -f $(top_builddir)/DEBIAN/* $(top_builddir)/debian/DEBIAN
383: (cd $(top_builddir) && dpkg-deb --build debian debian)
CVSweb interface <joel.bertrand@systella.fr>