]> rtime.felk.cvut.cz Git - omk/sssa.git/blobdiff - snippets/base.omk
Fixed typos spotted by Tommaso Cucinotta
[omk/sssa.git] / snippets / base.omk
index f0f7a88194bb957c79e3f892bd146e118d2bde9b..956576fae042dece2b68e792cf91a1b21e5a78b4 100644 (file)
@@ -207,7 +207,7 @@ $(pass)-$(3)-subdir:
                RELATIVE_DIR=$(RELATIVE_PREFIX)$(3) -C $(2)/$(3) \
                -f $(SUBDIR_MAKEFILE) $(pass)-submakes
 # In subdirectories we can call submakes directly since passes are
-# already searialized on the toplevel make.
+# already serialized on the toplevel make.
 endef
 
 ifdef OMK_TESTSROOT
@@ -279,7 +279,7 @@ omkize:
        fi
        $(Q)for i in `find -L . -name Makefile.omk` ; do \
           d=`dirname $${i}`; \
-          if ! test -f "$${d}/Makefile.rules" && ( ! test -f "$${d}/Makefile" || ! cmp --silent Makefile "$${d}/Makefile" ); then \
+          if ! test -f "$${d}/Makefile.rules" && ( test -f "$${d}/Makefile" && ! cmp --silent Makefile "$${d}/Makefile" ); then \
              rm -f "$${d}/Makefile"; \
              cp -v Makefile "$${d}/Makefile"; \
           fi \