xUbuntu_20.04 \
xUbuntu_20.10
+RASPBIAN_FLAVOURS = \
+ Raspbian_10
+
show-debian:
@echo "Debian flavors: $(DEBIAN_FLAVOURS)"
show-ubuntu:
@echo "Ubuntu flavors: $(UBUNTU_FLAVOURS)"
+show-raspbian:
+ @echo "Raspbian flavors: $(RASPBIAN_FLAVOURS)"
+
package-clean:
rm -f package/snapper-*.tar.bz2
rm -f package/debian.*
# - Clean up the package/ directory
# - create a new tarball (via the depencency)
# - copy the content of the debian/ directory
-# - for both Debian and Ubuntu, generate a master .dsc.in from file with the
+# - for both Debian, Ubuntu and Raspbian, generate a master .dsc.in from file with the
# "Files:" line for the tarball with its md5sum, file size in bytes, and name
-# - copy that .dsc.in master file for each flavor of Debian or Ubuntu to be supported
+# - copy that .dsc.in master file for each flavor of Debian, Ubuntu or Raspbian to be supported
# - remove the .dsc.in master file and the .dsc.in.in file
# - move the new tarball to the package/ directory
#
# (not even with the GNU make ':=' syntax): They cannot be assigned in the 'actions'
# part of a rule, only outside rules.
#
-# The .dsc files are generated from a .dsc.in file for each Debian and Ubuntu,
+# The .dsc files are generated from a .dsc.in file for each Debian, Ubuntu and Raspbian,
# which in turn are generated by configure/autoconf from .dsc.in.in files (see
# configure.ac) where @VERSION@ is expanded with the content of the toplevel
# VERSION file.
echo "$(shell md5sum $< | sed -e 's/\s.*//') $(shell wc -c $<)" >> package/snapper-xUbuntu.dsc.in
for FLAV in $(DEBIAN_FLAVOURS); do cp -v package/snapper-Debian.dsc.in package/snapper-$${FLAV}.dsc; done
for FLAV in $(UBUNTU_FLAVOURS); do cp -v package/snapper-xUbuntu.dsc.in package/snapper-$${FLAV}.dsc; done
+ for FLAV in $(RASPBIAN_FLAVOURS); do cp -v package/snapper-Raspbian.dsc.in package/snapper-$${FLAV}.dsc; done
rm package/snapper*.dsc.in*
mv snapper-$(VERSION).tar.bz2 package/
--- /dev/null
+Format: 1.0
+Source: snapper
+Version: @VERSION@
+Binary: snapper
+Maintainer: Arvin Schnell <aschnell@suse.com>
+Architecture: any
+Build-Depends: debhelper (>= 4.1.16), acl-dev, dbus, g++, libboost-dev, libboost-thread-dev, libboost-system-dev, libboost-test-dev, libxml2-dev, libz-dev, libdbus-1-dev, libjson-c-dev, libpam-dev, xsltproc, docbook-xsl, locales-all
+#
+# The 'Files' line is generated during 'make package':
+# Files:
+# 423a20ae6e882d44e65a4eff97f2269f 630905 snapper-0.2.8.tar.gz
+#
+Files: