@@ -777,20 +777,6 @@ BUILT_INS += git-status$X
777
777
BUILT_INS += git-switch$X
778
778
BUILT_INS += git-whatchanged$X
779
779
780
- # what 'all' will build and 'install' will install in gitexecdir,
781
- # excluding programs for built-in commands
782
- ALL_PROGRAMS = $(PROGRAMS ) $(SCRIPTS )
783
- ALL_COMMANDS_TO_INSTALL = $(ALL_PROGRAMS )
784
- ifeq (,$(SKIP_DASHED_BUILT_INS ) )
785
- ALL_COMMANDS_TO_INSTALL += $(BUILT_INS )
786
- else
787
- # git-upload-pack, git-receive-pack and git-upload-archive are special: they
788
- # are _expected_ to be present in the `bin/` directory in their dashed form.
789
- ALL_COMMANDS_TO_INSTALL += git-receive-pack$(X )
790
- ALL_COMMANDS_TO_INSTALL += git-upload-archive$(X )
791
- ALL_COMMANDS_TO_INSTALL += git-upload-pack$(X )
792
- endif
793
-
794
780
# what 'all' will build but not install in gitexecdir
795
781
OTHER_PROGRAMS = git$X
796
782
@@ -1226,6 +1212,20 @@ ifdef DEVELOPER
1226
1212
include config.mak.dev
1227
1213
endif
1228
1214
1215
+ # what 'all' will build and 'install' will install in gitexecdir,
1216
+ # excluding programs for built-in commands
1217
+ ALL_PROGRAMS = $(PROGRAMS ) $(SCRIPTS )
1218
+ ALL_COMMANDS_TO_INSTALL = $(ALL_PROGRAMS )
1219
+ ifeq (,$(SKIP_DASHED_BUILT_INS ) )
1220
+ ALL_COMMANDS_TO_INSTALL += $(BUILT_INS )
1221
+ else
1222
+ # git-upload-pack, git-receive-pack and git-upload-archive are special: they
1223
+ # are _expected_ to be present in the `bin/` directory in their dashed form.
1224
+ ALL_COMMANDS_TO_INSTALL += git-receive-pack$(X )
1225
+ ALL_COMMANDS_TO_INSTALL += git-upload-archive$(X )
1226
+ ALL_COMMANDS_TO_INSTALL += git-upload-pack$(X )
1227
+ endif
1228
+
1229
1229
ALL_CFLAGS = $(DEVELOPER_CFLAGS ) $(CPPFLAGS ) $(CFLAGS )
1230
1230
ALL_LDFLAGS = $(LDFLAGS )
1231
1231
0 commit comments