Changeset 1083 in ProjectBuilder for pbconf/devel/project-builder
- Timestamp:
- Aug 9, 2010, 2:37:04 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pbconf/devel/project-builder/deb/rules
r918 r1083 10 10 #export DH_VERBOSE=1 11 11 12 # If set to a true value then MakeMaker's prompt function will 13 # always return the default without waiting for user input. 14 export PERL_MM_USE_DEFAULT=1 15 16 ifndef PERL 17 PERL = /usr/bin/perl 18 endif 19 12 20 # Define package name variable for a one-stop change. 13 21 PACKAGE_NAME = PBPKG 14 15 # These are used for cross-compiling and for saving the configure script16 # from having to guess our platform (since we know it already)17 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)18 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)19 20 CFLAGS = -Wall -g21 22 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))23 CFLAGS += -O024 else25 CFLAGS += -O226 endif27 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))28 INSTALL_PROGRAM += -s29 endif30 22 31 23 build: build-stamp … … 35 27 36 28 # Add here commands to compile the package. 37 perl Makefile.PL29 $(PERL) Makefile.PL INSTALLDIRS=vendor PBKEYWORD=$(CURDIR)/PBFINALDIR MANDIR=/usr/share/man 38 30 $(MAKE) 39 31 touch $@ … … 58 50 $(MAKE) install DESTDIR=$(CURDIR)/debian/PBPKG 59 51 52 # Build architecture-dependent files here. 53 binary-arch: build install 54 # We have nothing to do by default. 55 # 60 56 # Build architecture-independent files here. 61 57 binary-indep: build install 62 # We have nothing to do by default.63 64 # Build architecture-dependent files here.65 binary-arch: build install66 58 dh_testdir 67 59 dh_testroot 68 60 dh_installchangelogs ChangeLog 69 61 dh_installdocs 70 dh_installexamples71 72 73 74 75 76 77 78 79 80 81 62 # dh_installexamples 63 # dh_install 64 # dh_installmenu 65 # dh_installdebconf 66 # dh_installlogrotate 67 # dh_installemacsen 68 # dh_installpam 69 # dh_installmime 70 # dh_python 71 # dh_installinit 72 # dh_installcron 73 # dh_installinfo 82 74 dh_installman 75 dh_perl 83 76 dh_strip 84 77 dh_compress 85 78 dh_fixperms 86 # dh_perl 87 # dh_makeshlibs 79 # dh_makeshlibs 88 80 dh_installdeb 89 dh_shlibdeps81 # dh_shlibdeps 90 82 dh_gencontrol 91 83 dh_md5sums
Note:
See TracChangeset
for help on using the changeset viewer.