| 1 |
From: Samuel Henrique <[email protected]> |
| 2 |
Date: Fri, 12 Apr 2024 00:11:07 +0100 |
| 3 |
Subject: Remove need to run reconfigure target |
| 4 |
|
| 5 |
Forwarded: not-needed |
| 6 |
|
| 7 |
=================================================================== |
| 8 |
--- |
| 9 |
Makefile.in | 20 -------------------- |
| 10 |
1 file changed, 20 deletions(-) |
| 11 |
|
| 12 |
diff --git a/Makefile.in b/Makefile.in |
| 13 |
index 801e864..813c0b2 100644 |
| 14 |
--- a/Makefile.in |
| 15 |
+++ b/Makefile.in |
| 16 |
@@ -285,15 +285,6 @@ configure.sh config.h.in: configure.ac aclocal.m4 |
| 17 |
else \ |
| 18 |
echo "config.h.in has CHANGED."; \ |
| 19 |
fi |
| 20 |
- @if test -f configure.sh.old || test -f config.h.in.old; then \ |
| 21 |
- if test "$(MAKECMDGOALS)" = reconfigure; then \ |
| 22 |
- echo 'Continuing with "make reconfigure".'; \ |
| 23 |
- else \ |
| 24 |
- echo 'You may need to run:'; \ |
| 25 |
- echo ' make reconfigure'; \ |
| 26 |
- exit 1; \ |
| 27 |
- fi \ |
| 28 |
- fi |
| 29 |
|
| 30 |
.PHONY: reconfigure |
| 31 |
reconfigure: configure.sh |
| 32 |
@@ -307,17 +298,6 @@ restatus: |
| 33 |
Makefile: Makefile.in config.status configure.sh config.h.in |
| 34 |
@if test -f Makefile; then cp -p Makefile Makefile.old; else touch Makefile.old; fi |
| 35 |
@./config.status |
| 36 |
- @if diff Makefile Makefile.old >/dev/null 2>&1; then \ |
| 37 |
- echo "Makefile is unchanged."; \ |
| 38 |
- rm Makefile.old; \ |
| 39 |
- else \ |
| 40 |
- if test "$(MAKECMDGOALS)" = reconfigure; then \ |
| 41 |
- echo 'Continuing with "make reconfigure".'; \ |
| 42 |
- else \ |
| 43 |
- echo "Makefile updated -- rerun your make command."; \ |
| 44 |
- exit 1; \ |
| 45 |
- fi \ |
| 46 |
- fi |
| 47 |
|
| 48 |
stunnel-rsyncd.conf: $(srcdir)/stunnel-rsyncd.conf.in Makefile |
| 49 |
sed 's;\@bindir\@;$(bindir);g' <$(srcdir)/stunnel-rsyncd.conf.in >stunnel-rsyncd.conf |