OSDN Git Service

use autotools-dev
authorMitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
Tue, 27 Jan 2015 05:50:33 +0000 (14:50 +0900)
committerMitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
Tue, 27 Jan 2015 05:50:33 +0000 (14:50 +0900)
modified:   debian/rules

debian/rules

index f1224b4..30ac275 100755 (executable)
@@ -1,19 +1,50 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
+# -*- GNUmakefile -*-
 # Copyright (C) 2001 Yoshito Komatsu
-#               2014 Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
+#               2014, 2015 Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
 #
-# This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published
+# by the Free Software Foundation; either version 2 of the License,
+# or (at your option) any later version.
 #
-# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the GNU General Public License for more details.
 #
-# You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#DH_VERBOSE = 1
 
+# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
+
+# see FEATURE AREAS in dpkg-buildflags(1)
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# see ENVIRONMENT in dpkg-buildflags(1)
+# package maintainers to append CFLAGS
+#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
+# package maintainers to append LDFLAGS
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+
+# main packaging script based on dh7 syntax
 %:
-       dh $@
+       dh $@  --with autotools-dev
+
+# debmake generated override targets
+# This is example for Cmake (See http://bugs.debian.org/641051 )
+#override_dh_auto_configure:
+#      dh_auto_configure -- \
+#      -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
 
 override_dh_install:
+       mkdir -p debian/canna-yubin/etc/canna/dics.dir.d/
        cp -f debian/yubin.dics.dir.off debian/canna-yubin/etc/canna/dics.dir.d/