mercurial/Makefile.init
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 08 Jan 2019 09:35:11 +0000
changeset 866 8a885a75daa9
parent 296 f7824c40a07e
permissions -rw-r--r--
Issue 256: fix parsing branch name from changelog To retrieve a branch of an changeset, `stx:libscm` uses `{branch}` branch keyword and then parses it as "name list". However, according to documentation it is a single string: branch String. The name of the branch on which the changeset was committed. This obviously caused problems when branch name had spaces in it. This commit fixes the problem. One remaining thing is that `stx:libscm` technically allows a changeset to be in more than one branch which seems to be impossible in Mercurial itself. This should be investigated and fixed, eventually.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
296
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     1
#
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     2
# DO NOT EDIT
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     3
#
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     4
# make uses this file (Makefile) only, if there is no
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     5
# file named "makefile" (lower-case m) in the same directory.
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     6
# My only task is to generate the real makefile and call make again.
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     7
# Thereafter, I am no longer used and needed.
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     8
#
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     9
# MACOSX caveat:
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    10
#   as filenames are not case sensitive (in a default setup),
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    11
#   we cannot use the above trick. Therefore, this file is now named
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    12
#   "Makefile.init", and you have to execute "make -f Makefile.init" to
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    13
#   get the initial makefile.  This is now also done by the toplevel CONFIG
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    14
#   script.
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    15
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    16
.PHONY: run
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    17
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    18
run: makefile
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    19
	$(MAKE) -f makefile
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    20
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    21
#only needed for the definition of $(TOP)
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    22
include Make.proto
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    23
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    24
makefile: mf
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    25
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    26
mf:
f7824c40a07e Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    27
	$(TOP)/rules/stmkmf