summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:27:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:27:08 +0000
commitfd349b3766ba0eb49748049eec227a843385c152 (patch)
tree41bab25a8449820300360d07426442b57db36025 /debian/rules
parentAdding upstream version 1:014. (diff)
downloadusbutils-fd349b3766ba0eb49748049eec227a843385c152.tar.xz
usbutils-fd349b3766ba0eb49748049eec227a843385c152.zip
Adding debian version 1:014-1+deb12u1.debian/1%014-1+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xdebian/rules17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4798a33
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+-include /usr/share/dpkg/buildtools.mk
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ dh_auto_build
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(CURDIR)/usbreset $(CURDIR)/usbreset.c
+
+override_dh_auto_install:
+ dh_auto_install --destdir=$(CURDIR)/debian/tmp
+ install -m 755 $(CURDIR)/usbreset $(CURDIR)/debian/tmp/usr/bin
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -f $(CURDIR)/usbreset