~ubuntu-branches/ubuntu/raring/gfal2/raring-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Mattias Ellert
  • Date: 2012-09-13 16:32:12 UTC
  • Revision ID: package-import@ubuntu.com-20120913163212-6203cd7oo8qwd252
Tags: 2.0.0-1
Initial release (Closes: #687682)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
# -*- makefile -*-
 
3
 
 
4
-include /usr/share/dpkg/buildflags.mk
 
5
 
 
6
CFLAGS += $(CPPFLAGS)
 
7
CXXFLAGS += $(CPPFLAGS)
 
8
 
 
9
export CFLAGS CXXFLAGS LDFLAGS
 
10
 
 
11
%:
 
12
        dh $@ 
 
13
 
 
14
override_dh_auto_configure:
 
15
        dh_auto_configure -- -DLIB_SUFFIX="" -DSYSCONF_INSTALL_DIR=/etc
 
16
 
 
17
override_dh_auto_build:
 
18
        dh_auto_build -- all doc
 
19
 
 
20
override_dh_install:
 
21
        mkdir -p debian/gfal2-doc/usr/share/doc/gfal2-doc
 
22
        mv debian/tmp/usr/share/doc/gfal2/examples \
 
23
           debian/tmp/usr/share/doc/gfal2/html \
 
24
           debian/gfal2-doc/usr/share/doc/gfal2-doc
 
25
        rm -rf debian/tmp/usr/share/doc
 
26
        dh_install --fail-missing