OSDN Git Service

Fixed: forgot copying yubin.dics.dir.off to /etc/canna/dics.dir.d 0.1.1.20140731
authorMitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
Tue, 5 Aug 2014 01:13:32 +0000 (10:13 +0900)
committerMitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
Tue, 5 Aug 2014 01:13:32 +0000 (10:13 +0900)
modified:   debian/changelog
modified:   debian/copyright
modified:   debian/rules

debian/changelog
debian/copyright
debian/rules

index ea48d8a..fdc86f0 100644 (file)
@@ -1,3 +1,9 @@
+canna-yubin (0.1.1.20140731-1ppa1) trusty; urgency=low
+
+  * Fixed 0.1.0's bug: debian/rules forgot copying yubin.dics.dir.off.
+
+ -- Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>  Tue, 05 Aug 2014 02:44:01 +0900
+
 canna-yubin (0.1.0.20140731-1ppa1) trusty; urgency=low
 
   * updated data to 20140731.
index 5ce20d8..460801a 100644 (file)
@@ -37,12 +37,12 @@ Files: debian/README.Debian debian/dirs debian/postinst debian/prerm
 Copyright: 2001 Yoshito Komatsu
 License: GPL-2+
 
-Files: debian/changelog debian/control debian/docs
+Files: debian/changelog debian/control debian/docs debian/rules
 Copyright: 2001 Yoshito Komatsu
            2014 Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
 License: GPL-2+
 
-Files: debian/compat debian/copyright debian/rules debian/source/*
+Files: debian/compat debian/copyright debian/source/*
 Copyright: 2014 Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
 License: GPL-2+
 
index 218df65..39229de 100755 (executable)
@@ -1,8 +1,86 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-%:
-       dh $@
+# This is the debhelper compatability version to use.
+#export DH_COMPAT=3
+
+configure: configure-stamp
+configure-stamp:
+       dh_testdir
+       # Add here commands to configure the package.
+       
+
+       touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+       dh_testdir
+
+       # Add here commands to compile the package.
+       $(MAKE)
+       #/usr/bin/docbook-to-man debian/canna-yubin.sgml > canna-yubin.1
+
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp configure-stamp
+
+       # Add here commands to clean up after the build process.
+       $(MAKE) clean
+
+       dh_clean
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_prep
+       dh_installdirs
+
+       # Add here commands to install the package into debian/canna-yubin.
+       $(MAKE) install DESTDIR=$(CURDIR)/debian/canna-yubin
+
+       cp -f debian/yubin.dics.dir.off \
+               debian/canna-yubin/etc/canna/dics.dir.d/
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+#      dh_installdebconf       
+       dh_installdocs
+#      dh_installexamples
+#      dh_installmenu
+#      dh_installlogrotate
+#      dh_installemacsen
+#      dh_installpam
+#      dh_installmime
+#      dh_installinit
+#      dh_installcron
+#      dh_installman
+#      dh_installinfo
+#      dh_undocumented
+       dh_installchangelogs 
+       dh_link
+#      dh_strip
+       dh_compress
+       dh_fixperms
+#      dh_makeshlibs
+       dh_installdeb
+#      dh_perl
+#      dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure