~ubuntu-branches/ubuntu/vivid/igraph/vivid

« back to all changes in this revision

Viewing changes to .pc/remove_unused_test_target.patch/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Tamás Nepusz, Andreas Tille, Tamas Nepusz
  • Date: 2014-08-29 08:39:02 UTC
  • mfrom: (7.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20140829083902-y4k2iu2mlizkq0o0
Tags: 0.7.1-2
[ Andreas Tille ]
* Move packagiong from SVN to Git

[ Tamas Nepusz ]
* Remove debian/patches/link_f2c.patch; f2c linkage not needed if
  BLAS, LAPACK and ARPACK are all linked dynamically
  Closes: #702882
* debian/patches/remove_unused_test_target.patch added to make
  dh_auto_test work
* debian/patches/fix_failing_tests.patch added to fix some failing
  test cases 
* debian/patches/cppflags_restore.patch added to fix incorrect
  handling of CPPFLAGS in the configure script
* debian/patches/drl_spelling_fix.patch added to fix a spelling
  error in the source and silence a lintian warning

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
 
 
3
SUBDIRS=src tests
 
4
DOC_FILES = $(top_srcdir)/doc/Makefile.in \
 
5
        $(top_srcdir)/doc/igraph.3
 
6
 
 
7
pkgconfigdir = @libdir@/pkgconfig
 
8
pkgconfig_DATA = igraph.pc
 
9
 
 
10
EXTRA_DIST = igraph.pc VERSION $(top_srcdir)/include/* $(DOC_FILES) examples \
 
11
        $(wildcard $(top_srcdir)/optional/glpk/*.{inc,c,h})      \
 
12
        $(wildcard $(top_srcdir)/optional/glpk/{README,COPYING}) \
 
13
        $(wildcard $(top_srcdir)/optional/glpk/amd/*.{c,h})      \
 
14
        $(wildcard $(top_srcdir)/optional/glpk/amd/{README,COPYING}) \
 
15
        $(wildcard $(top_srcdir)/optional/glpk/colamd/*.{c,h}) \
 
16
        $(wildcard $(top_srcdir)/optional/glpk/colamd/{README,COPYING}) \
 
17
        tests/testsuite
 
18
 
 
19
tests/testsuite:
 
20
        cd tests && make testsuite
 
21
 
 
22
install-exec-hook:
 
23
        if test -f $(top_builddir)/src/.libs/cygigraph-0.dll ; \
 
24
                then cp $(top_builddir)/src/.libs/cygigraph-0.dll \
 
25
                $(DESTDIR)$(libdir) ; fi
 
26
 
 
27
install-info:
 
28
        if test -f doc/igraph.info; then d="doc"; \
 
29
         else d=$(srcdir); fi; \
 
30
        $(INSTALL_DATA) $$d/igraph.info $(infodir); \
 
31
        if $(SHELL) -c 'install-info --version' \
 
32
           >/dev/null 2>&1; then \
 
33
          install-info --infodir=$(infodir) $$d/igraph.info; \
 
34
        else true; fi
 
35
 
 
36
dist-hook:
 
37
        rm -rf `find $(distdir)/examples -type d -name .arch-ids`
 
38
 
 
39
MAINTAINERCLEANFILES = Makefile.in
 
40
 
 
41
## to make sure make deb will generate Debian packages
 
42
.PHONY: framework msvc parsersources
 
43
 
 
44
framework: all
 
45
        rm -rf $(top_builddir)/igraph.framework
 
46
        mkdir -p $(top_builddir)/igraph.framework/Versions/$(VERSION)/Headers
 
47
        mkdir -p $(top_builddir)/igraph.framework/Versions/$(VERSION)/Resources
 
48
        ln -s $(VERSION) $(top_builddir)/igraph.framework/Versions/Current
 
49
        ln -s Versions/Current/Headers $(top_builddir)/igraph.framework/Headers
 
50
        ln -s Versions/Current/Resources $(top_builddir)/igraph.framework/Resources
 
51
        cp $(top_srcdir)/include/* $(top_builddir)/igraph.framework/Headers/
 
52
        if [ $(top_builddir) != $(top_srcdir) ]; then cp $(top_builddir)/include/* $(top_builddir)/igraph.framework/Headers/; fi
 
53
        cp $(top_builddir)/src/.libs/libigraph.dylib $(top_builddir)/igraph.framework/Versions/Current/igraph
 
54
        ln -s Versions/Current/igraph $(top_builddir)/igraph.framework/igraph
 
55
        cp $(top_builddir)/igraph_Info.plist $(top_builddir)/igraph.framework/Versions/Current/Resources/Info.plist
 
56
 
 
57
test: all
 
58
        for i in interfaces/*; do \
 
59
                if [ -x $$i/test.sh ]; then \
 
60
                  $$i/test.sh; \
 
61
                fi; \
 
62
        done
 
63
 
 
64
parsersources:
 
65
        cd src; make parsersources
 
66
 
 
67
msvc: parsersources
 
68
        rm -rf $(top_builddir)/igraph-$(VERSION)-msvc
 
69
        mkdir $(top_builddir)/igraph-$(VERSION)-msvc
 
70
        mkdir $(top_builddir)/igraph-$(VERSION)-msvc/include
 
71
        cp -r $(top_srcdir)/src $(top_builddir)/igraph-$(VERSION)-msvc/
 
72
        cp -r $(top_srcdir)/include/*.h $(top_builddir)/igraph-$(VERSION)-msvc/include
 
73
        if [ "x$(top_srcdir)" != "x$(top_builddir)" ]; then cp -r $(top_builddir)/include $(top_builddir)/src $(top_builddir)/igraph-$(VERSION)-msvc; fi
 
74
        cp -r $(top_srcdir)/msvc/include $(top_builddir)/igraph-$(VERSION)-msvc/winclude
 
75
        rm -rf $(top_builddir)/igraph-$(VERSION)-msvc/src/{.deps,.libs}
 
76
        rm -rf $(top_builddir)/igraph-$(VERSION)-msvc/src/config.h
 
77
        rm -rf $(top_builddir)/igraph-$(VERSION)-msvc/src/*.{o,lo,la}
 
78
        rm -rf $(top_builddir)/igraph-$(VERSION)-msvc/src/*~
 
79
        rm -rf $(top_builddir)/igraph-$(VERSION)-msvc/include/*~
 
80
        mkdir $(top_builddir)/igraph-$(VERSION)-msvc/winlib
 
81
        $(top_srcdir)/tools/create-msvc-projectfile.py          \
 
82
                $(top_builddir)/igraph-$(VERSION)-msvc  \
 
83
                $(top_srcdir)/msvc/igraph.vcproj        \
 
84
                $(top_builddir)/src/Makefile
 
85
        cp $(top_srcdir)/msvc/igraph.sln $(top_builddir)/igraph-$(VERSION)-msvc
 
86
        cp -r $(top_srcdir)/msvc/igraphtest .
 
87
        rm -rf igraph-$(VERSION)-msvc.zip
 
88
        zip -r igraph-$(VERSION)-msvc.zip igraph-$(VERSION)-msvc igraphtest
 
89
 
 
90
python-msvc: msvc
 
91
        cmd /c "tools\build_python_msvc.cmd"
 
92
    
 
93
CLEANFILES=