~bulldog98/invertika/invertika-ubuntu

« back to all changes in this revision

Viewing changes to rules

  • Committer: seeseekey
  • Date: 2010-12-06 09:49:58 UTC
  • Revision ID: svn-v4:784bf6b6-0765-11df-962c-b5c252e50527:trunk/client/packaging/debian:2782
Packingdateien auch in den trunk miteingepflegt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
configure-stamp:
22
22
        dh_testdir
23
23
        # Add here commands to configure the package.
24
 
        
25
 
        cmake .
26
 
        #autoreconf -i
27
 
        #CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \
28
 
        #--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \
29
 
        #--datadir=/usr/share/games --bindir=/usr/games --mandir=/usr/share/man
 
24
        cmake -DCMAKE_BINARY_DIR=/usr/games -DCMAKE_INSTALL_PREFIX=/usr .
 
25
        #-DCMAKE_SYSTEM_NAME=$(DEB_BUILD_GNU_TYPE) .
30
26
        touch configure-stamp
31
27
 
32
28
 
47
43
        rm -f build-stamp configure-stamp
48
44
 
49
45
        # Add here commands to clean up after the build process.
50
 
        dh_clean 
51
 
 
 
46
        dh_clean
 
47
        
52
48
install: build
53
49
        dh_testdir
54
50
        dh_testroot
55
51
        dh_prep  
56
52
        dh_installdirs
57
53
 
58
 
        # Add here commands to install the package into debian/invertika.
 
54
        # Add here commands to install the package into debian/invertika-client.
59
55
        $(MAKE) DESTDIR=$(CURDIR)/debian/invertika install
60
 
        mv $(CURDIR)/debian/invertika/usr/mana $(CURDIR)/debian/invertika/usr/invertika
61
56
 
62
57
 
63
58
# Build architecture-independent files here.
84
79
        dh_install -a
85
80
        dh_installmenu -a
86
81
        dh_installman -a
87
 
        dh_strip -a --dbg-package=invertika-dbg
 
82
        dh_strip -a
88
83
        dh_compress -a
89
84
        dh_fixperms -a
90
85
        dh_installdeb -a