mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-01 21:07:40 +08:00
"make deb" to build the debian package
This commit is contained in:
@@ -113,6 +113,9 @@ install : static t1
|
|||||||
uninstall :
|
uninstall :
|
||||||
./Makefile.pl -uninstall -destdir $(DESTDIR)
|
./Makefile.pl -uninstall -destdir $(DESTDIR)
|
||||||
|
|
||||||
|
deb :
|
||||||
|
dpkg-buildpackage -rfakeroot
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
find . -name Makefile -mindepth 2 -exec sh -c '$(MAKE) -C `dirname {}` $@' \;
|
find . -name Makefile -mindepth 2 -exec sh -c '$(MAKE) -C `dirname {}` $@' \;
|
||||||
find . -name '*~' -exec rm -f {} \;
|
find . -name '*~' -exec rm -f {} \;
|
||||||
|
|||||||
Vendored
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
paparazzi (0.9-1) unstable; urgency=low
|
paparazzi (1.0-1) unstable; urgency=low
|
||||||
|
|
||||||
* Initial Release.
|
* Initial Release.
|
||||||
|
|
||||||
-- Pascal Brisset <pascal.brisset@enac.fr> Fri, 28 Jan 2005 12:21:28 +0100
|
-- Pascal Brisset <pascal.brisset@enac.fr> Fri, 19 Feb 2005 12:21:28 +0100
|
||||||
|
|||||||
Vendored
-1
@@ -1,2 +1 @@
|
|||||||
paparazzi_1.0-1_i386.deb extra optional
|
paparazzi_1.0-1_i386.deb extra optional
|
||||||
|
|
||||||
|
|||||||
Vendored
+22
-17
@@ -10,10 +10,12 @@
|
|||||||
#export DH_VERBOSE=1
|
#export DH_VERBOSE=1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CFLAGS = -Wall -g
|
CFLAGS = -Wall -g
|
||||||
|
|
||||||
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||||
CFLAGS += -O0
|
CFLAGS += -O0
|
||||||
else
|
else
|
||||||
CFLAGS += -O2
|
CFLAGS += -O2
|
||||||
endif
|
endif
|
||||||
@@ -22,6 +24,7 @@ configure: configure-stamp
|
|||||||
configure-stamp:
|
configure-stamp:
|
||||||
dh_testdir
|
dh_testdir
|
||||||
# Add here commands to configure the package.
|
# Add here commands to configure the package.
|
||||||
|
|
||||||
touch configure-stamp
|
touch configure-stamp
|
||||||
|
|
||||||
|
|
||||||
@@ -29,7 +32,8 @@ build: build-stamp
|
|||||||
|
|
||||||
build-stamp: configure-stamp
|
build-stamp: configure-stamp
|
||||||
dh_testdir
|
dh_testdir
|
||||||
# Add here commands to compile the package
|
|
||||||
|
# Add here commands to compile the package.
|
||||||
# $(MAKE)
|
# $(MAKE)
|
||||||
#docbook-to-man debian/paparazzi.sgml > paparazzi.1
|
#docbook-to-man debian/paparazzi.sgml > paparazzi.1
|
||||||
|
|
||||||
@@ -39,8 +43,10 @@ clean:
|
|||||||
dh_testdir
|
dh_testdir
|
||||||
dh_testroot
|
dh_testroot
|
||||||
rm -f build-stamp configure-stamp
|
rm -f build-stamp configure-stamp
|
||||||
|
|
||||||
# Add here commands to clean up after the build process.
|
# Add here commands to clean up after the build process.
|
||||||
# -$(MAKE) clean
|
# -$(MAKE) clean
|
||||||
|
|
||||||
dh_clean
|
dh_clean
|
||||||
|
|
||||||
install: build
|
install: build
|
||||||
@@ -52,6 +58,7 @@ install: build
|
|||||||
# Add here commands to install the package into debian/paparazzi.
|
# Add here commands to install the package into debian/paparazzi.
|
||||||
# $(MAKE) install DESTDIR=$(CURDIR)/debian/paparazzi
|
# $(MAKE) install DESTDIR=$(CURDIR)/debian/paparazzi
|
||||||
|
|
||||||
|
|
||||||
# Build architecture-independent files here.
|
# Build architecture-independent files here.
|
||||||
binary-indep: build install
|
binary-indep: build install
|
||||||
# We have nothing to do by default.
|
# We have nothing to do by default.
|
||||||
@@ -63,24 +70,24 @@ binary-arch: build install
|
|||||||
dh_installchangelogs
|
dh_installchangelogs
|
||||||
dh_installdocs
|
dh_installdocs
|
||||||
dh_installexamples
|
dh_installexamples
|
||||||
# dh_install
|
# dh_install
|
||||||
# dh_installmenu
|
# dh_installmenu
|
||||||
# dh_installdebconf
|
# dh_installdebconf
|
||||||
# dh_installlogrotate
|
# dh_installlogrotate
|
||||||
# dh_installemacsen
|
# dh_installemacsen
|
||||||
# dh_installpam
|
# dh_installpam
|
||||||
# dh_installmime
|
# dh_installmime
|
||||||
# dh_installinit
|
# dh_installinit
|
||||||
# dh_installcron
|
# dh_installcron
|
||||||
# dh_installinfo
|
# dh_installinfo
|
||||||
dh_installman
|
dh_installman
|
||||||
dh_link
|
dh_link
|
||||||
dh_strip
|
dh_strip
|
||||||
dh_compress
|
dh_compress
|
||||||
dh_fixperms
|
dh_fixperms
|
||||||
# dh_perl
|
# dh_perl
|
||||||
# dh_python
|
# dh_python
|
||||||
# dh_makeshlibs
|
# dh_makeshlibs
|
||||||
dh_installdeb
|
dh_installdeb
|
||||||
dh_shlibdeps
|
dh_shlibdeps
|
||||||
dh_gencontrol
|
dh_gencontrol
|
||||||
@@ -88,6 +95,4 @@ binary-arch: build install
|
|||||||
dh_builddeb
|
dh_builddeb
|
||||||
|
|
||||||
binary: binary-indep binary-arch
|
binary: binary-indep binary-arch
|
||||||
|
|
||||||
.PHONY: build clean binary-indep binary-arch binary install configure
|
.PHONY: build clean binary-indep binary-arch binary install configure
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user