Commit c4f166fcdb040603df5c76ed75decc12987b60f6
1 parent
ef805f0f
Exists in
master
and in
5 other branches
Removendo debian.rules
Showing
2 changed files
with
3 additions
and
91 deletions
Show diff stats
Makefile.in
| ... | ... | @@ -231,8 +231,9 @@ $(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar: clean pixmaps filelist |
| 231 | 231 | @rm -fr $(TMPDIR)/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION) |
| 232 | 232 | # @find src -name Makefile -exec rm -f {} \; |
| 233 | 233 | @$(MKDIR) $(TMPDIR)/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION) |
| 234 | - @cp *.m4 $(TMPDIR)/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION) | |
| 235 | 234 | @NOCONFIGURE=1 ./autogen.sh $(TMPDIR)/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION) |
| 235 | + @cp *.m4 $(TMPDIR)/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION) | |
| 236 | + @cp revision $(TMPDIR)/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION) | |
| 236 | 237 | @cp ChangeLog $(TMPDIR)/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION) |
| 237 | 238 | @cp configure.ac $(TMPDIR)/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION) |
| 238 | 239 | # @cp configure $(TMPDIR)/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION) |
| ... | ... | @@ -246,7 +247,7 @@ $(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar: clean pixmaps filelist |
| 246 | 247 | @cp ui/* $(TMPDIR)/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)/ui |
| 247 | 248 | |
| 248 | 249 | @$(MKDIR) $(TMPDIR)/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)/debian |
| 249 | - @cp debian/* $(TMPDIR)/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)/debian | |
| 250 | + @cp debian/*.install $(TMPDIR)/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)/debian | |
| 250 | 251 | |
| 251 | 252 | @$(MKDIR) $(TMPDIR)/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)/po |
| 252 | 253 | @cp po/*.po $(TMPDIR)/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)/po | ... | ... |
debian/rules
| ... | ... | @@ -1,89 +0,0 @@ |
| 1 | -#!/usr/bin/make -f | |
| 2 | -# Sample debian/rules that uses debhelper. | |
| 3 | -# GNU copyright 1997 to 1999 by Joey Hess. | |
| 4 | - | |
| 5 | -# Uncomment this to turn on verbose mode. | |
| 6 | -export DH_VERBOSE=1 | |
| 7 | - | |
| 8 | -# This is the debhelper compatibility version to use. | |
| 9 | -export DH_COMPAT=4 | |
| 10 | - | |
| 11 | -CFLAGS = -g | |
| 12 | -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) | |
| 13 | -CFLAGS += -O0 | |
| 14 | -else | |
| 15 | -CFLAGS += -O2 | |
| 16 | -endif | |
| 17 | - | |
| 18 | -build: build-stamp | |
| 19 | -build-stamp: | |
| 20 | - dh_testdir | |
| 21 | - | |
| 22 | - # Add here commands to compile the package. | |
| 23 | - aclocal | |
| 24 | - autoconf | |
| 25 | - ./configure --prefix=/usr | |
| 26 | - make Release | |
| 27 | - # --- end custom part for compiling | |
| 28 | - | |
| 29 | - touch build-stamp | |
| 30 | - | |
| 31 | -clean: | |
| 32 | - dh_testdir | |
| 33 | - dh_testroot | |
| 34 | - rm -f build-stamp | |
| 35 | - | |
| 36 | - # Add here commands to clean up after the build process. | |
| 37 | - make clean || true | |
| 38 | - # --- end custom part for cleaning up | |
| 39 | - | |
| 40 | - dh_clean | |
| 41 | - | |
| 42 | -install: build | |
| 43 | - dh_testdir | |
| 44 | - dh_testroot | |
| 45 | - dh_clean -k | |
| 46 | - dh_installdirs | |
| 47 | - | |
| 48 | - # Add here commands to install the packages | |
| 49 | - make DESTDIR=debian/lib3270 install-lib | |
| 50 | - make DESTDIR=debian/lib3270-dev install-sdk | |
| 51 | - make DESTDIR=debian/pw3270 install-app | |
| 52 | - # --- end custom part for installing | |
| 53 | - | |
| 54 | -# Build architecture-independent files here. | |
| 55 | -binary-indep: build install | |
| 56 | - # We have nothing to do by default. | |
| 57 | - | |
| 58 | -# Build architecture-dependent files here. | |
| 59 | -binary-arch: build install | |
| 60 | - dh_testdir | |
| 61 | - dh_testroot | |
| 62 | -# dh_installdebconf | |
| 63 | - dh_installdocs | |
| 64 | - dh_installexamples | |
| 65 | - dh_installmenu | |
| 66 | -# dh_installlogrotate | |
| 67 | -# dh_installemacsen | |
| 68 | -# dh_installpam | |
| 69 | -# dh_installmime | |
| 70 | -# dh_installinit | |
| 71 | - dh_installcron | |
| 72 | - dh_installman | |
| 73 | - dh_installinfo | |
| 74 | -# dh_undocumented | |
| 75 | - dh_installchangelogs | |
| 76 | - dh_link | |
| 77 | - dh_strip | |
| 78 | - dh_compress | |
| 79 | - dh_fixperms | |
| 80 | -# dh_makeshlibs | |
| 81 | - dh_installdeb | |
| 82 | -# dh_perl | |
| 83 | -# dh_shlibdeps | |
| 84 | - dh_gencontrol | |
| 85 | - dh_md5sums | |
| 86 | - dh_builddeb | |
| 87 | - | |
| 88 | -binary: binary-indep binary-arch | |
| 89 | -.PHONY: build clean binary-indep binary-arch binary install |