phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: skel/debian rules,1.1,1.2


From: Luca - De Whiskey's - De Vitis <address@hidden>
Subject: [Phpgroupware-cvs] CVS: skel/debian rules,1.1,1.2
Date: Sat, 22 Jun 2002 03:32:56 -0400

Update of /cvsroot/phpgroupware/skel/debian
In directory subversions:/tmp/cvs-serv17621/debian

Modified Files:
        rules 
Log Message:
- some improovements: rewritten install target.


Index: rules
===================================================================
RCS file: /cvsroot/phpgroupware/skel/debian/rules,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** rules       22 May 2001 16:45:37 -0000      1.1
--- rules       22 Jun 2002 07:32:53 -0000      1.2
***************
*** 14,23 ****
  export DH_COMPAT=3
  
! # Architecture independent package.
! export DH_OPTIONS=-i
! 
! APP=skel
! PACKAGE=debian/phpgroupware-$(APP)/usr/share/phpgroupware-$(APP)
! PACKAGEDOC=debian/phpgroupware-$(APP)/usr/share/doc/phpgroupware-$(APP)
  
  configure: configure-stamp
--- 14,28 ----
  export DH_COMPAT=3
  
! APP = skell
! PACKAGE = debian/phpgroupware-$(APP)/usr/share/phpgroupware/$(APP)
! PACKAGEDOC = debian/phpgroupware-$(APP)/usr/share/doc/phpgroupware-$(APP)
! 
! COPYRIGHT = -iname copyright\* -or -iname license
! CHANGELOG = -iname change\*
! INSTALL = -iname install
! FINDOPT = -type f -not \( -path \*CVS\* -or -name .cvsignore \)
! SPECIAL = -size 0 -or $(INSTALL) -or $(CHANGELOG) -or $(COPYRIGHT)
! STAMPS = -name configure-stamp -or -name build-stamp
! APPFILE = -not \( -path \*doc\* -or -path \. -or -name '*.pl' -or -name 
'*.py' -or $(STAMPS) \)
  
  configure: configure-stamp
***************
*** 30,101 ****
  build-stamp:
        dh_testdir
!       # I should place here the commands necessary to build the sgml
!       # documentation...
        touch build-stamp
  
  clean:
        dh_testdir
-       dh_testroot
        rm -f build-stamp configure-stamp
!       # No source cleaning needed
        dh_clean
  
  install: build
        dh_testdir
-       dh_testroot
-       dh_clean -k build-stamp configure-stamp
-       dh_installdirs
  
        # Install $(APP) files in $(PACKAGE)
!       find \
!       -maxdepth 1 \
!       -not -name '.' \
!       -not -name CVS \
!       -not -name doc \
!       -not -name debian \
!       -not -name $(APP).spec \
!       -exec cp -a {} $(PACKAGE) \;
!       # Install $(APP)-doc files in $(PACKAGEDOC)
        cd doc ;\
!       find \
!       -maxdepth 1 \
!       -not -name '.' \
!       -not -name CVS \
!       -not -name changes.txt \
!       -not -name install.txt \
!       -not -name copyright\* \
!       -exec cp -a {} ../$(PACKAGEDOC) \; ;\
!       cd ..
!       cp $(APP).spec $(PACKAGEDOC)
!       touch build-stamp configure-stamp
! 
! # Build architecture-independent files here.
! # Pass -i to all debhelper commands in this target to reduce clutter.
! binary-indep: DH_OPTIONS=-i
  binary-indep: build install
        dh_testdir
        dh_testroot
-       dh_installexamples
-       dh_installmenu
-       dh_installcron
-       dh_installman
-       dh_installinfo
-       dh_installdocs
-       dh_undocumented
        dh_installchangelogs doc/changes.txt
-       dh_link
        dh_compress
-       find $(PACKAGE) $(PACKAGEDOC) \
-               -type f \
-               -perm +111 \
-               -not -name '*.pl' \
-               -not -path "*DEBIAN*" \
-               -exec chmod -x {} \;
        dh_fixperms
        dh_installdeb
-       dh_perl
        dh_gencontrol
        dh_md5sums
!       dh_builddeb
  
  binary: binary-indep
--- 35,73 ----
  build-stamp:
        dh_testdir
!       # Here should go the commands necessary to build the sgml 
documentation...
        touch build-stamp
  
  clean:
        dh_testdir
        rm -f build-stamp configure-stamp
!       rm -f debian/.builded
!       rm -f debian/files
!       # Here should go the commands to clean the builded sgml documents.
        dh_clean
  
  install: build
        dh_testdir
  
        # Install $(APP) files in $(PACKAGE)
!       find $(FINDOPT) $(APPFILE) \
!               -exec install -D --mode=644 \
!                       {} $(PACHAGE)/{} \; ;\
!       
!       # Install $(APP) doc files in $(PACKAGEDOC)
        cd doc ;\
!               find $(FINDOPT) -not \( $(SPECIAL) \) \
!                       -exec install -D --mode=644 \
!                               {} ../$(PACKAGEDOC)/{} \; ;\
!       
  binary-indep: build install
        dh_testdir
        dh_testroot
        dh_installchangelogs doc/changes.txt
        dh_compress
        dh_fixperms
        dh_installdeb
        dh_gencontrol
        dh_md5sums
!       dh_builddeb | tee debian/.builded
  
  binary: binary-indep




reply via email to

[Prev in Thread] Current Thread [Next in Thread]