| 1 |
Descriptionscip-debian debian hashcash 1.22-2 hashcash/patches/`debianize-makefile.diff`#Description.: fix Makefile for Debian |
| 2 |
Authorscip-debian debian hashcash 1.22-2 hashcash/patches/`debianize-makefile.diff`#Author.: Stefan Kangas <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 3 |
Forwardedscip-debian debian hashcash 1.22-2 hashcash/patches/`debianize-makefile.diff`#Forwarded.: not-needed |
| 4 |
|
| 5 |
--- a/Makefilescip-debian debian hashcash 1.22-2 hashcash/upstream/Makefile: |
| 6 |
+++ b/Makefilescip-debian debian hashcash 1.22-2 hashcash/upstream/Makefile: |
| 7 |
@@ -28,7 +28,7 @@ |
| 8 |
LIB=.a |
| 9 |
# request static link of -lcrypto only |
| 10 |
LIBCRYPTO=/usr/lib/libcrypto.a |
| 11 |
|
| 12 |
+EXES = hashcash$(EXE) |
| 13 |
INSTALL = install |
| 14 |
POD2MAN = pod2man |
| 15 |
POD2HTML = pod2html |
| 16 |
@@ -109,7 +109,7 @@ |
| 17 |
$(MAKE) debug "CFLAGS=$(CFLAGS) -DOPENSSL" "LDFLAGS=$(LDFLAGS) $(LIBCRYPTO)" |
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
+build: hashcash$(EXE) |
| 22 |
|
| 23 |
build-dll: hashcash-dll$(EXE) sha1$(EXE) |
| 24 |
|
| 25 |
@@ -162,13 +162,13 @@ |
| 26 |
sha1-hashcash.txt: sha1-hashcash.pod |
| 27 |
$(POD2TEXT) $? > $@ |
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
+install: hashcash |
| 37 |
+ $(INSTALL) -d $(DESTDIR)/usr/bin |
| 38 |
+ $(INSTALL) ./hashcash $(DESTDIR)/usr/bin |
| 39 |
+ $(INSTALL) -d $(DESTDIR)$(MAN_INSTALL_PATH) |
| 40 |
+ $(INSTALL) -m 644 hashcash.1 $(DESTDIR)$(MAN_INSTALL_PATH) |
| 41 |
+ # $(INSTALL) -d $(DOC_INSTALL_PATH) |
| 42 |
+ # $(INSTALL) -m 644 README LICENSE CHANGELOG $(DOC_INSTALL_PATH) |
| 43 |
|
| 44 |
depend: |
| 45 |
$(MAKEDEPEND) -- -Y *.c *.h |