File: dh-update-changes

package info (click to toggle)
htag 0.0.24-2
  • links: PTS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 356 kB
  • sloc: perl: 1,302; makefile: 20; sh: 2
file content (23 lines) | stat: -rw-r--r-- 678 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Add makefile
 Add a makefile to keep dh_install and friends happy in newer dh versions.
 .
Author: Simon Huggins <huggie@earth.li>

--- /dev/null
+++ htag-0.0.24/Makefile
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+# Make sure perl is defined, but allow overriding from the command line.
+PERL ?= /usr/bin/perl
+
+pmdir := $(shell $(PERL) -MConfig -e 'if (defined($$Config{installvendorlib})) { print $$Config{installvendorlib} } else { print $$Config{installprivlib} }')
+
+install:
+	mkdir -p debian/tmp/usr/bin
+	cp htag.pl debian/tmp/usr/bin/htag
+	mkdir -p debian/tmp/${pmdir}
+	cp HtagPlugin/HtagPlugin.pm debian/tmp/${pmdir}
+
+clean:
+	rm -rf htag.1 debian/tmp