fusefile: fusefile.c
clean:
- rm $(BINS)
+ rm -f $(BINS)
+
+# Building a debian package
+
+SBINDIR = $(DESTDIR)/usr/local/sbin
+MAN8DIR = $(DESTDIR)/usr/local/share/man/man8
+
+SBINFILES = fusefile
+MAN8FILES = fusefile.8
+
+INSTALLTARGETS = $(addprefix $(SBINDIR)/,$(SBINFILES))
+INSTALLTARGETS += $(addprefix $(MAN8DIR)/,$(MAN8FILES))
+
+$(SBINDIR)/% $(MAN8DIR)/%: %
+ install -D -T $< $@
+
+install: $(INSTALLTARGETS)
+
+deb:
+ PREFIX= INCLUDE_PREFIX=/usr dpkg-buildpackage --build=full -uc -us
--- /dev/null
+fusefile (0.1) unstable; urgency=medium
+
+ * Initial Release.
+
+ -- Ralph Ronnquist <ralph.ronnquist@gmail.com> Mon, 11 Mar 2018 10:00:00 +1100
--- /dev/null
+Source: fusefile
+Section: admin
+Priority: optional
+Maintainer: Ralph Ronnquist <ralph.ronnquist@gmail.com>
+Build-Depends: debhelper (>= 9), libfuse-dev
+Standards-Version: 3.9.8
+#Homepage:
+#Vcs-Git:
+
+Package: fusefile
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, fuse
+Description: fusefile is FUSE file mount that presents a series of
+ fragments of other files as a contiguous concatenation. It bind
+ mounts a driver on top of the file mountpoint to present the
+ nominated file fragments as a single, contiguous file.
--- /dev/null
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: fusefile
+Source: <url://example.com>
+
+Files: *
+Copyright: 2018 Ralph Ronnquist <ralph.ronnquist@gmail.com>
+License: GPL-3.0+
+
+License: GPL-3.0+
+ 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 3 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 3 can be found in "/usr/share/common-licenses/GPL-3".
--- /dev/null
+fusefile-dbgsym_0.1_amd64.deb debug extra
+fusefile_0.1_amd64.buildinfo admin optional
+fusefile_0.1_amd64.deb admin optional
--- /dev/null
+[DEFAULT]
+debian-branch=suites/experimental
+ignore-branch=True
+compression-level=9
--- /dev/null
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
+
+
+# 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
+
+
+%:
+ dh $@
+
+
+# dh_make generated override targets
+# This is example for Cmake (See https://bugs.debian.org/641051 )
+#override_dh_auto_configure:
+# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
+
+override_dh_usrlocal:
+ true
--- /dev/null
+3.0 (native)