Commit 7b5c93c
scalar: include in standard Git build & installation
Move 'scalar' out of 'contrib/' and into the root of the Git tree. The goal
of this change is to build 'scalar' as part of the standard Git build &
install processes.
This patch includes both the physical move of Scalar's files out of
'contrib/' ('scalar.c', 'scalar.txt', and 't9xxx-scalar.sh'), and the
changes to the build definitions in 'Makefile' and 'CMakelists.txt' to
accommodate the new program.
At a high level, Scalar is built so that:
- there is a 'scalar-objs' target (similar to those created in 029bac0
(Makefile: add {program,xdiff,test,git,fuzz}-objs & objects targets,
2021-02-23)) for debugging purposes.
- it appears in the root of the install directory (rather than the
gitexecdir).
- it is included in the 'bin-wrappers/' directory for use in tests.
- it receives a platform-specific executable suffix (e.g., '.exe'), if
applicable.
- 'scalar.txt' is installed as 'man1' documentation.
- the 'clean' target removes the 'scalar' executable.
Additionally, update the root level '.gitignore' file to ignore the Scalar
executable.
Signed-off-by: Victoria Dye <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent b6faef3 commit 7b5c93c
File tree
10 files changed
+28
-142
lines changed- Documentation
- contrib
- buildsystems
- scalar
- t
- t
10 files changed
+28
-142
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
188 | 189 | | |
189 | 190 | | |
190 | 191 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
608 | 608 | | |
609 | 609 | | |
610 | 610 | | |
| 611 | + | |
611 | 612 | | |
| 613 | + | |
612 | 614 | | |
613 | 615 | | |
614 | 616 | | |
| |||
821 | 823 | | |
822 | 824 | | |
823 | 825 | | |
824 | | - | |
| 826 | + | |
| 827 | + | |
825 | 828 | | |
826 | 829 | | |
827 | 830 | | |
| 831 | + | |
828 | 832 | | |
829 | 833 | | |
830 | 834 | | |
| |||
2222 | 2226 | | |
2223 | 2227 | | |
2224 | 2228 | | |
2225 | | - | |
| 2229 | + | |
2226 | 2230 | | |
2227 | 2231 | | |
2228 | 2232 | | |
| |||
2545 | 2549 | | |
2546 | 2550 | | |
2547 | 2551 | | |
| 2552 | + | |
| 2553 | + | |
| 2554 | + | |
| 2555 | + | |
2548 | 2556 | | |
| 2557 | + | |
2549 | 2558 | | |
2550 | 2559 | | |
2551 | 2560 | | |
| |||
2556 | 2565 | | |
2557 | 2566 | | |
2558 | 2567 | | |
2559 | | - | |
2560 | | - | |
2561 | | - | |
2562 | | - | |
2563 | 2568 | | |
2564 | 2569 | | |
2565 | 2570 | | |
| |||
2691 | 2696 | | |
2692 | 2697 | | |
2693 | 2698 | | |
2694 | | - | |
| 2699 | + | |
2695 | 2700 | | |
2696 | 2701 | | |
2697 | 2702 | | |
| |||
2747 | 2752 | | |
2748 | 2753 | | |
2749 | 2754 | | |
2750 | | - | |
2751 | | - | |
| 2755 | + | |
2752 | 2756 | | |
2753 | 2757 | | |
2754 | 2758 | | |
| |||
3062 | 3066 | | |
3063 | 3067 | | |
3064 | 3068 | | |
3065 | | - | |
| 3069 | + | |
3066 | 3070 | | |
3067 | 3071 | | |
3068 | 3072 | | |
| |||
3276 | 3280 | | |
3277 | 3281 | | |
3278 | 3282 | | |
3279 | | - | |
| 3283 | + | |
3280 | 3284 | | |
3281 | 3285 | | |
3282 | 3286 | | |
3283 | 3287 | | |
3284 | 3288 | | |
3285 | 3289 | | |
3286 | | - | |
| 3290 | + | |
3287 | 3291 | | |
3288 | 3292 | | |
3289 | 3293 | | |
| |||
3458 | 3462 | | |
3459 | 3463 | | |
3460 | 3464 | | |
3461 | | - | |
| 3465 | + | |
3462 | 3466 | | |
3463 | 3467 | | |
3464 | 3468 | | |
| |||
3509 | 3513 | | |
3510 | 3514 | | |
3511 | 3515 | | |
| 3516 | + | |
3512 | 3517 | | |
3513 | 3518 | | |
3514 | 3519 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
613 | | - | |
| 613 | + | |
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
| |||
757 | 757 | | |
758 | 758 | | |
759 | 759 | | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
760 | 763 | | |
761 | 764 | | |
762 | 765 | | |
| |||
903 | 906 | | |
904 | 907 | | |
905 | 908 | | |
906 | | - | |
| 909 | + | |
907 | 910 | | |
908 | 911 | | |
909 | 912 | | |
| |||
977 | 980 | | |
978 | 981 | | |
979 | 982 | | |
980 | | - | |
| 983 | + | |
981 | 984 | | |
982 | 985 | | |
983 | 986 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
File renamed without changes.
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 7 | + | |
14 | 8 | | |
15 | 9 | | |
16 | 10 | | |
| |||
0 commit comments