Skip to content

Commit

Permalink
multiple imake config fixes
Browse files Browse the repository at this point in the history
see ArcticaProject/issues/1058 for details and the original patch.

Found and fixed by realsimix

Adresses ArcticaProject#1058 (part 1)
  • Loading branch information
uli42 committed May 11, 2024
1 parent 2709f9a commit a02fa70
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ ifneq "$(strip $(NX_VERSION_CUSTOM))" ""
endif

imakeconfig:
@echo;
@echo
@echo "===> $@"
# auto-config some setting

Expand Down
6 changes: 3 additions & 3 deletions nx-X11/config/cf/Imake.rules
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ clean cleantc:: @@\
:; \ @@\
else \ @@\
if [ -h dir ]; then \ @@\
(test -n "${VERBOSE}" && test -n "${VERBOSE}" && set -x; rm -f dir); \ @@\
(test -n "${VERBOSE}" && set -x; rm -f dir); \ @@\
fi; \ @@\
(test -n "${VERBOSE}" && set -x; $(MKDIRHIER) dir); \ @@\
fi
Expand Down Expand Up @@ -1976,7 +1976,7 @@ DependDependencyStatement() @@\
NoCmpScript(ProgramTargetName($(DEPEND))) @@\
@@\
ProgramTargetName($(DEPEND)): @@\
@echo "using system-wide depend, continuing in $(CURRENT_DIR)"
@test -z "${VERBOSE}" || echo "using system-wide depend, continuing in $(CURRENT_DIR)"

#endif /* UseInstalled */
#endif /* DependDependency */
Expand Down Expand Up @@ -2069,7 +2069,7 @@ target:: ProgramTargetName($(IMAKE)) @@\
NoCmpScript(ProgramTargetName($(IMAKE)) $(IMAKE).Osuf) @@\
@@\
ProgramTargetName($(IMAKE)) $(IMAKE).Osuf: @@\
@echo "using system-wide imake, continuing in $(CURRENT_DIR)"
@test -z "${VERBOSE}" || echo "using system-wide imake, continuing in $(CURRENT_DIR)"
#endif /* UseInstalled */
#endif /* ImakeDependency */

Expand Down
2 changes: 1 addition & 1 deletion nx-X11/config/cf/X11.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -1500,7 +1500,7 @@ install:: deps @@\
$(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) name.html \ @@\
$(DESTDIR)$(DOCHTMLDIR)); \ @@\
for i in name*.png; do \ @@\
if [ -f $$i ]; then (test -n "${VERBOSE}" && test -n "${VERBOSE}" && set -x; \ @@\
if [ -f $$i ]; then (test -n "${VERBOSE}" && set -x; \ @@\
$(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) $$i \ @@\
$(DESTDIR)$(DOCHTMLDIR)); \ @@\
fi; \ @@\
Expand Down
6 changes: 4 additions & 2 deletions nx-X11/config/cf/lnxLib.rules
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ install:: Concat(lib,libname.so.rev) @@\
install:: Concat(lib,libname.so) @@\
MakeDir($(DESTDIR)dest) @@\
@set +e; SetRevisions(rev); \ @@\
test -n "${VERBOSE}" && set -xe; \ @@\
set -e; \ @@\
test -n "${VERBOSE}" && set -x; \ @@\
$(INSTALL) $(INSTALLFLAGS) $(INSTBINFLAGS) Concat(lib,libname.so.$$MAJ.$$MIN) $(DESTDIR)dest; \ @@\
$(RM) Concat($(DESTDIR)dest/lib,libname.so.$$MAJ); \ @@\
$(LN) Concat(lib,libname.so.$$MAJ.$$MIN) Concat($(DESTDIR)dest/lib,libname.so.$$MAJ); \ @@\
Expand Down Expand Up @@ -207,7 +208,8 @@ Concat(lib,libname.so): solist $(EXTRALIBRARYDEPS) @@\
@@\
clean:: @@\
@set +e; SetRevisions(rev); \ @@\
test -n "${VERBOSE}" && set -xe; \ @@\
set -e; \ @@\
test -n "${VERBOSE}" && set -xe; \ @@\
$(RM) Concat(lib,libname.so.$$MAJ); \ @@\
$(RM) Concat(lib,libname.so.$$MAJ.$$MIN) @@\
$(RM) Concat(lib,libname.so)
Expand Down

0 comments on commit a02fa70

Please sign in to comment.