Remove cruft from Makefile.am

We don't really need the maintainer-clean thing - we've got git for
that. But also, add README.rst and bindep.txt to EXTRA_DIST.
This commit is contained in:
Monty Taylor 2019-02-10 17:54:02 +00:00
parent d60536e3f2
commit fc1a31230e
1 changed files with 15 additions and 43 deletions

View File

@ -1,17 +1,17 @@
# Copyright (c) 2016 Red Hat, Inc.
# Copyright (c) 2019 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# http://www.apache.org/licenses/LICENSE-2.0
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
ACLOCAL_AMFLAGS = -I m4
@ -21,38 +21,10 @@ SUBDIRS= .
DIST_SUBDIRS = ${SUBDIRS}
EXTRA_DIST= \
config/pandora_vc_revinfo \
config/config.rpath \
${top_srcdir}/m4/*m4
DISTCLEANFILES= config/top.h
MAINTAINERCLEANFILES=
MAINTAINERCLEANFILES+= autom4te.cache
maintainer-clean-local:
find . -type f -name '*~' -exec rm -f '{}' \;
-rm -rf @PACKAGE@-*.rpm
-rm -rf @PACKAGE@-*.tar.gz
-rm -r -f autom4te.cache
-rm -f Makefile.in
-rm -f aclocal.m4
-rm -f config/config.guess
-rm -f config/config.sub
-rm -f config/depcomp
-rm -f config/install-sh
-rm -f config/ltmain.sh
-rm -f config/missing
-rm -f config.in
-rm -f config.log
-rm -f config.status
-rm -f configure
-rm -f m4/libtool.m4
-rm -f m4/ltoptions.m4
-rm -f m4/ltsugar.m4
-rm -f m4/ltversion.m4
-rm -f m4/lt~obsolete.m4
EXTRA_DIST = \
${top_srcdir}/m4/*m4 \
${top_srcdir}/bindep.txt \
${top_srcdir}/README.rst
bin_PROGRAMS = zuul-preview/zuul-preview