]> pere.pagekite.me Git - text-madewithcc.git/commitdiff
Added build rules for Debian.
authorPetter Reinholdtsen <pere@hungry.com>
Thu, 22 Feb 2018 23:11:09 +0000 (23:11 +0000)
committerPetter Reinholdtsen <pere@hungry.com>
Thu, 22 Feb 2018 23:11:09 +0000 (23:11 +0000)
Makefile
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/dirs [new file with mode: 0644]
debian/rules [new file with mode: 0755]

index 4e94cd5da2d7ecbbe13d09afc095552c8919dc76..2ba21a320c1900df6c514d0bc9c5a931fab1e562 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,8 +20,17 @@ PANDOC_OPTS = \
 
 LANGS := $(shell ls po/*/mwcc.po|cut -d/ -f2)
 
+DESTDIR =
+
+docdir = /usr/share/doc/madewithcc
+
+install = install
+
 all: pdf epub
 
+install:
+       $(install) *.pdf *.epub $(DESTDIR)/$(docdir)
+
 distclean: clean
        rm -f $(SOURCE).md
 clean:
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..3da51d4
--- /dev/null
@@ -0,0 +1,5 @@
+madewithcc (0.0.0) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #).
+
+ -- Petter Reinholdtsen <pere@debian.org>  Wed, 23 Jan 2013 12:25:31 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..f599e28
--- /dev/null
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..2074dfd
--- /dev/null
@@ -0,0 +1,22 @@
+Source: madewithcc
+Section: misc
+Priority: optional
+Maintainer: Gunnar Wolf <gwolf@debian.org>
+Build-Depends: debhelper (>= 10)
+Build-Depends-Indep:
+ , pandoc
+ , dblatex
+ , texlive-lang-german
+ , texlive-lang-polish
+ , texlive-lang-spanish
+ , texlive-latex-extra
+ , dbtoepub
+Standards-Version: 4.0.0
+Vcs-Browser: gitlab.com/gunnarwolf/madewithcc-es
+Vcs-Git: gitlab.com/gunnarwolf/madewithcc-es
+
+Package: madewithcc
+Architecture: all
+Depends: ${misc:Depends}
+Description: The book Made with Creative Commons
+ Available in several translations.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..047e1c1
--- /dev/null
@@ -0,0 +1,24 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: madewithcc
+Upstream-Contact: Petter Reinholdtsen <pere@debian.org>
+
+Files: *
+Copyright: 2017, Petter Reinholdtsen <pere@debian.org>
+License: GPL-2+
+
+License: GPL-2+
+ This package 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 package 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, see <https://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/dirs b/debian/dirs
new file mode 100644 (file)
index 0000000..0f02857
--- /dev/null
@@ -0,0 +1 @@
+/usr/share/doc/madewithcc
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..cbe925d
--- /dev/null
@@ -0,0 +1,3 @@
+#!/usr/bin/make -f
+%:
+       dh $@