12c19e6362
* PreprocessPackageInfo rule: Pull out new rule PreprocessPackageOrRepositoryInfo which does the sed substituation and optionally the filtering through the C preprocessor. * HaikuRepository rule: Generate the repository info file (from the given template). No longer do that in the build_haiku_repository script.
28 lines
678 B
Plaintext
28 lines
678 B
Plaintext
# Builds the Haiku packages repository.
|
|
|
|
local haikuRepository = <repository>haiku ;
|
|
MakeLocate $(haikuRepository)
|
|
: $(HAIKU_PACKAGE_REPOSITORIES_DIR_$(HAIKU_PACKAGING_ARCH)) ;
|
|
|
|
local repoInfo = <repository-info-template>haiku ;
|
|
SEARCH on $(repoInfo) = $(HAIKU_TOP)/src/data/repository_infos ;
|
|
|
|
local secondaryArchs = $(TARGET_PACKAGING_ARCHS[2-]) ;
|
|
local packages =
|
|
haiku
|
|
haiku_devel
|
|
haiku_loader
|
|
haiku_userguide
|
|
haiku_welcome
|
|
makefile_engine
|
|
|
|
haiku_$(secondaryArchs)
|
|
haiku_$(secondaryArchs)_devel
|
|
;
|
|
|
|
if $(TARGET_PACKAGING_ARCH) != x86_gcc2 || $(secondaryArchs) {
|
|
packages += webpositive ;
|
|
}
|
|
|
|
HaikuRepository $(haikuRepository) : $(repoInfo) : $(packages:S=.hpkg) ;
|