Skip to content

Commit 18e78c2

Browse files
committed
multiple imake config fixes
see ArcticaProject/issues/1058 for details and the original patch. Found and fixed by realsimix Adresses ArcticaProject#1058 (part 1)
1 parent 8298919 commit 18e78c2

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ ifneq "$(strip $(NX_VERSION_CUSTOM))" ""
116116
endif
117117

118118
imakeconfig:
119-
@echo;
119+
@echo
120120
@echo "===> $@"
121121
# auto-config some setting
122122

nx-X11/config/cf/Imake.rules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ clean cleantc:: @@\
547547
:; \ @@\
548548
else \ @@\
549549
if [ -h dir ]; then \ @@\
550-
(test -n "${VERBOSE}" && test -n "${VERBOSE}" && set -x; rm -f dir); \ @@\
550+
(test -n "${VERBOSE}" && set -x; rm -f dir); \ @@\
551551
fi; \ @@\
552552
(test -n "${VERBOSE}" && set -x; $(MKDIRHIER) dir); \ @@\
553553
fi
@@ -1976,7 +1976,7 @@ DependDependencyStatement() @@\
19761976
NoCmpScript(ProgramTargetName($(DEPEND))) @@\
19771977
@@\
19781978
ProgramTargetName($(DEPEND)): @@\
1979-
@echo "using system-wide depend, continuing in $(CURRENT_DIR)"
1979+
@test -z "${VERBOSE}" || echo "using system-wide depend, continuing in $(CURRENT_DIR)"
19801980

19811981
#endif /* UseInstalled */
19821982
#endif /* DependDependency */
@@ -2069,7 +2069,7 @@ target:: ProgramTargetName($(IMAKE)) @@\
20692069
NoCmpScript(ProgramTargetName($(IMAKE)) $(IMAKE).Osuf) @@\
20702070
@@\
20712071
ProgramTargetName($(IMAKE)) $(IMAKE).Osuf: @@\
2072-
@echo "using system-wide imake, continuing in $(CURRENT_DIR)"
2072+
@test -z "${VERBOSE}" || echo "using system-wide imake, continuing in $(CURRENT_DIR)"
20732073
#endif /* UseInstalled */
20742074
#endif /* ImakeDependency */
20752075

nx-X11/config/cf/X11.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1500,7 +1500,7 @@ install:: deps @@\
15001500
$(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) name.html \ @@\
15011501
$(DESTDIR)$(DOCHTMLDIR)); \ @@\
15021502
for i in name*.png; do \ @@\
1503-
if [ -f $$i ]; then (test -n "${VERBOSE}" && test -n "${VERBOSE}" && set -x; \ @@\
1503+
if [ -f $$i ]; then (test -n "${VERBOSE}" && set -x; \ @@\
15041504
$(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) $$i \ @@\
15051505
$(DESTDIR)$(DOCHTMLDIR)); \ @@\
15061506
fi; \ @@\

nx-X11/config/cf/lnxLib.rules

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ install:: Concat(lib,libname.so.rev) @@\
136136
install:: Concat(lib,libname.so) @@\
137137
MakeDir($(DESTDIR)dest) @@\
138138
@set +e; SetRevisions(rev); \ @@\
139-
test -n "${VERBOSE}" && set -xe; \ @@\
139+
set -e; \ @@\
140+
test -n "${VERBOSE}" && set -x; \ @@\
140141
$(INSTALL) $(INSTALLFLAGS) $(INSTBINFLAGS) Concat(lib,libname.so.$$MAJ.$$MIN) $(DESTDIR)dest; \ @@\
141142
$(RM) Concat($(DESTDIR)dest/lib,libname.so.$$MAJ); \ @@\
142143
$(LN) Concat(lib,libname.so.$$MAJ.$$MIN) Concat($(DESTDIR)dest/lib,libname.so.$$MAJ); \ @@\
@@ -207,7 +208,8 @@ Concat(lib,libname.so): solist $(EXTRALIBRARYDEPS) @@\
207208
@@\
208209
clean:: @@\
209210
@set +e; SetRevisions(rev); \ @@\
210-
test -n "${VERBOSE}" && set -xe; \ @@\
211+
set -e; \ @@\
212+
test -n "${VERBOSE}" && set -xe; \ @@\
211213
$(RM) Concat(lib,libname.so.$$MAJ); \ @@\
212214
$(RM) Concat(lib,libname.so.$$MAJ.$$MIN) @@\
213215
$(RM) Concat(lib,libname.so)

0 commit comments

Comments
 (0)