Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Cloud:OTC:Drivers
scsi_ep_front2-dkms
Makefile
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Makefile of Package scsi_ep_front2-dkms
#!/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 = ROSCHIL_OEL7_UEK5_DEVEL-1902 OEL7_UEK6_DEVEL-2011 OEL7_UEK5_DEVEL-1902 DISTRO_LIST_UEK = $(shell osc repositories | grep -i UEK | awk '{print $$1}' | awk -v RS= '{$$1=$$1}1') all: clean write-service write-dsc write-spec write-spec-uek @echo "successfully generated build files 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