debian/rules
changeset 443 984ac3af2b0a
parent 437 2dff6a7d42b4
child 528 4d84e1994edb
equal deleted inserted replaced
442:bd29c5c3f73d 443:984ac3af2b0a
    31 # awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
    31 # awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
    32 
    32 
    33 config.status: configure
    33 config.status: configure
    34 	dh_testdir
    34 	dh_testdir
    35 	# Add here commands to configure the package.
    35 	# Add here commands to configure the package.
       
    36 	./bootstrap
    36 	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
    37 	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
    37 
    38 
    38 
    39 
    39 build: build-stamp
    40 build: build-stamp
    40 build-stamp:  config.status
    41 build-stamp:  config.status
    68 	dh_installdirs
    69 	dh_installdirs
    69 
    70 
    70 	# Add here commands to install the package into debian/tmp
    71 	# Add here commands to install the package into debian/tmp
    71 	$(MAKE) install prefix=$(CURDIR)/debian/tmp/usr
    72 	$(MAKE) install prefix=$(CURDIR)/debian/tmp/usr
    72 	install -d $(CURDIR)/debian/tmp/usr/share/doc/libphysfs0-dev/latex
    73 	install -d $(CURDIR)/debian/tmp/usr/share/doc/libphysfs0-dev/latex
    73 	install -d $(CURDIR)/debian/tmp/usr/share/doc/libphysfs0-dev/man/man3
       
    74 	install -d $(CURDIR)/debian/tmp/usr/share/doc/libphysfs0-dev/html
    74 	install -d $(CURDIR)/debian/tmp/usr/share/doc/libphysfs0-dev/html
    75 	install -D docs/README $(CURDIR)/debian/tmp/usr/share/doc/libphysfs0-dev/README
    75 	install -d $(CURDIR)/debian/tmp/usr/share/man/man3
       
    76 	# install -D docs/README $(CURDIR)/debian/tmp/usr/share/doc/libphysfs0-dev/README
    76 	install -D docs/latex/* $(CURDIR)/debian/tmp/usr/share/doc/libphysfs0-dev/latex
    77 	install -D docs/latex/* $(CURDIR)/debian/tmp/usr/share/doc/libphysfs0-dev/latex
    77 	install -D docs/html/* $(CURDIR)/debian/tmp/usr/share/doc/libphysfs0-dev/html
    78 	install -D docs/html/* $(CURDIR)/debian/tmp/usr/share/doc/libphysfs0-dev/html
    78 	install -D docs/man/man3/* $(CURDIR)/debian/tmp/usr/share/doc/libphysfs0-dev/man/man3
    79 	install -D docs/man/man3/* $(CURDIR)/debian/tmp/usr/share/man/man3
    79 
    80 
    80 # Build architecture-independent files here.
    81 # Build architecture-independent files here.
    81 binary-indep: build install
    82 binary-indep: build install
    82 # We have nothing to do by default.
    83 # We have nothing to do by default.
    83 
    84