Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:nikunj12
OL7UEKR6
Makefile
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Makefile of Package OL7UEKR6
#!/usr/bin/make -f NAME = scsi_ep_front VERSION := $(shell cat ./version) TEMPLATE_DSC = scsi_ep_front.dsc.in TEMPLATE_SERVICE = service.in TEMPLATE_SPEC = scsi_ep_front.spec.in TEMPLATE_SPEC_UEK = scsi_ep_front_uek.spec.in FILE_DSC = $(NAME)-$(VERSION).dsc FILE_SERVICE = _service FILE_SPEC = $(NAME).spec SERVICE_TMP = _service:recompress:tar_scm:$(NAME)-*.tar.bz2 DISTRO_LIST_UEK = OEL_7_1902kernel all: clean write-service write-dsc write-spec write-spec-uek @echo "successfully generated build fuils for $(NAME)-$(VERSION)." write-service: $(shell cat $(TEMPLATE_SERVICE) | sed 's/#VERSION#/$(VERSION)/' > $(FILE_SERVICE)) write-dsc: $(shell cat $(TEMPLATE_DSC) | sed 's/#VERSION#/$(VERSION)/' > $(FILE_DSC)) write-spec: $(shell cat $(TEMPLATE_SPEC) | sed 's/#VERSION#/$(VERSION)/' > $(NAME)2-dkms.spec) write-spec-uek: @for distro in $(DISTRO_LIST_UEK) ; do \ cat $(TEMPLATE_SPEC_UEK) | sed 's/#VERSION#/$(VERSION)/' > $(NAME)2-dkms-$$distro.spec ; \ done clean: clean-tmp $(shell rm -f $(FILE_SERVICE) *.dsc *.spec) clean-tmp: $(shell rm -rf $(SERVICE_TMP) $(NAME)) osc-build-centos-7: osc build CentOS_7 *.spec osc-build-debian-10: osc build Debian_10 *.dsc
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor