f83aa1e
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
f83aa1e
#
f83aa1e
#   Makefile of /tools/make/Regression/GNU-make-utility-v-3-82-shipped-with-el7-breaks
f83aa1e
#   Description: Test for GNU make utility v.3.82 shipped with el7 breaks
f83aa1e
#   Author: Michal Kolar <mkolar@redhat.com>
f83aa1e
#
f83aa1e
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
f83aa1e
#
f83aa1e
#   Copyright (c) 2016 Red Hat, Inc.
f83aa1e
#
f83aa1e
#   This program is free software: you can redistribute it and/or
f83aa1e
#   modify it under the terms of the GNU General Public License as
f83aa1e
#   published by the Free Software Foundation, either version 2 of
f83aa1e
#   the License, or (at your option) any later version.
f83aa1e
#
f83aa1e
#   This program is distributed in the hope that it will be
f83aa1e
#   useful, but WITHOUT ANY WARRANTY; without even the implied
f83aa1e
#   warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
f83aa1e
#   PURPOSE.  See the GNU General Public License for more details.
f83aa1e
#
f83aa1e
#   You should have received a copy of the GNU General Public License
f83aa1e
#   along with this program. If not, see http://www.gnu.org/licenses/.
f83aa1e
#
f83aa1e
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
f83aa1e
f83aa1e
export TEST=/tools/make/Regression/GNU-make-utility-v-3-82-shipped-with-el7-breaks
f83aa1e
export TESTVERSION=1.0
f83aa1e
f83aa1e
BUILT_FILES=
f83aa1e
f83aa1e
FILES=$(METADATA) runtest.sh Makefile PURPOSE test.mk golden.output
f83aa1e
f83aa1e
.PHONY: all install download clean
f83aa1e
f83aa1e
run: $(FILES) build
f83aa1e
	./runtest.sh
f83aa1e
f83aa1e
build: $(BUILT_FILES)
f83aa1e
	test -x runtest.sh || chmod a+x runtest.sh
f83aa1e
f83aa1e
clean:
f83aa1e
	rm -f *~ $(BUILT_FILES)
f83aa1e
f83aa1e
f83aa1e
include /usr/share/rhts/lib/rhts-make.include
f83aa1e
f83aa1e
$(METADATA): Makefile
f83aa1e
	@echo "Owner:           Michal Kolar <mkolar@redhat.com>" > $(METADATA)
f83aa1e
	@echo "Name:            $(TEST)" >> $(METADATA)
f83aa1e
	@echo "TestVersion:     $(TESTVERSION)" >> $(METADATA)
f83aa1e
	@echo "Path:            $(TEST_DIR)" >> $(METADATA)
f83aa1e
	@echo "Description:     GNU make utility v.3.82 shipped with el7 breaks" >> $(METADATA)
f83aa1e
	@echo "Type:            Regression" >> $(METADATA)
f83aa1e
	@echo "TestTime:        2m" >> $(METADATA)
f83aa1e
	@echo "RunFor:          make" >> $(METADATA)
f83aa1e
	@echo "Requires:        make coreutils sed diffutils" >> $(METADATA)
f83aa1e
	@echo "Priority:        Normal" >> $(METADATA)
f83aa1e
	@echo "License:         GPLv2+" >> $(METADATA)
f83aa1e
	@echo "Confidential:    yes" >> $(METADATA)
f83aa1e
	@echo "Destructive:     no" >> $(METADATA)
f83aa1e
	@echo "Releases:        -RHEL4 -RHELClient5 -RHELServer5" >> $(METADATA)
f83aa1e
f83aa1e
	rhts-lint $(METADATA)