~ubuntu-branches/ubuntu/trusty/libterralib/trusty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Alastair McKinstry
  • Date: 2010-01-25 13:52:16 UTC
  • mfrom: (9.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20100125135216-ncmi9kjs05rwubxk
Tags: 3.3.1-8
Do chmod of examples in build stage, for safety. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
        dh $@
7
7
 
8
8
# Uncomment this to turn on verbose mode.
9
 
#export DH_VERBOSE=1
 
9
# export DH_VERBOSE=1
10
10
 
11
11
override_dh_auto_build:
 
12
        find examples -type f -exec chmod 644 {} \;
12
13
        $(MAKE) -C terralibx/terralib
13
14
        $(MAKE) -C terralibx/stat
14
15
        $(MAKE) -C terralibx/image_processing
16
17
        ar rcs libstat.a terralibx/Release/.obj/stat/*.o
17
18
        ar rcs libterralibpdi.a terralibx/Release/.obj/libpdi/*.o
18
19
 
19
 
 
20
 
override_dh_fixperms:
21
 
        dh_fixperms
22
 
        find debian/libterralib1-doc/usr/share/doc/libterralib1-doc/examples -type f -exec chmod 644 {} \;
23
 
 
24
20
override_dh_clean:
25
21
        dh_clean
26
22
        $(MAKE) -C terralibx/terralib clean