mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-03-10 00:00:04 +03:00
Remove autotools stuff
This commit is contained in:
parent
7ae2165053
commit
e24b52260e
33
Makefile.am
33
Makefile.am
@ -1,33 +0,0 @@
|
|||||||
|
|
||||||
AUTOMAKE_OPTIONS=subdir-objects
|
|
||||||
|
|
||||||
PREFIX=/usr
|
|
||||||
AM_CFLAGS=-std=gnu99 -O2 -Wall -Werror -g
|
|
||||||
|
|
||||||
bin_PROGRAMS=bcacheadm probe-bcache
|
|
||||||
|
|
||||||
bcache.o: CFLAGS += `pkg-config --cflags uuid blkid`
|
|
||||||
|
|
||||||
bcacheadm_SOURCES=bcacheadm.c
|
|
||||||
bcacheadm_CFLAGS=$(AM_CFLAGS) `pkg-config --cflags uuid blkid libnih`
|
|
||||||
bcacheadm_LDFLAGS=`pkg-config --libs uuid blkid libnih`
|
|
||||||
bcacheadm_LDADD=bcache.o
|
|
||||||
|
|
||||||
probe_bcache_SOURCES=probe-bcache.c
|
|
||||||
probe_bcache_CFLAGS=$(AM_CFLAGS) `pkg-config --cflags uuid blkid`
|
|
||||||
probe_bcache_LDFLAGS=`pkg-config --libs uuid blkid`
|
|
||||||
probe_bcache_LDADD=bcache.o
|
|
||||||
|
|
||||||
udevrule_DATA=69-bcache.rules
|
|
||||||
udevruledir=$(prefix)/lib/udev/rules.d
|
|
||||||
|
|
||||||
udevr_DATA=bcache-register
|
|
||||||
udevrdir=$(prefix)/lib/udev/
|
|
||||||
|
|
||||||
initramfs_SCRIPTS=initramfs/bcache
|
|
||||||
initramfsdir=$(prefix)/etc/initramfs-tools/hooks/
|
|
||||||
|
|
||||||
man8_MANS=bcacheadm.8 probe-bcache.8
|
|
||||||
|
|
||||||
include ../../../../../../../../../../usr/share/DateraContainer/Makefile.rpm
|
|
||||||
# some version of automake don't like absolute path names for included makefiles
|
|
@ -1,27 +0,0 @@
|
|||||||
Summary: bcache-tools: manage local bcache devices
|
|
||||||
Name: %{package_name}
|
|
||||||
Version: 0.datera.%{datera_version}
|
|
||||||
Release: %{?release:%{release}}%{!?release:eng}
|
|
||||||
Source0: %{name}-%{version}.tar.gz
|
|
||||||
License: GPLv2
|
|
||||||
Group: tools
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
|
||||||
Requires: libblkid
|
|
||||||
BuildRequires: pkgconfig libblkid-devel linux-headers libnih-devel
|
|
||||||
Summary: tools to manage bcache
|
|
||||||
Epoch: 5
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
|
||||||
bcache tools
|
|
||||||
|
|
||||||
%install
|
|
||||||
make DESTDIR=%buildroot INSTALL=/usr/bin/install -C /bld/$RPM_PACKAGE_NAME install
|
|
||||||
|
|
||||||
%files
|
|
||||||
%_bindir/bcacheadm
|
|
||||||
%_bindir/probe-bcache
|
|
||||||
%_mandir/man8/*.gz
|
|
||||||
%exclude %_prefix/etc/initramfs-tools/hooks/bcache
|
|
||||||
%exclude %_prefix/lib/udev/bcache-register
|
|
||||||
%exclude %_prefix/lib/udev/rules.d/69-bcache.rules
|
|
13
configure.ac
13
configure.ac
@ -1,13 +0,0 @@
|
|||||||
# -*- Autoconf -*-
|
|
||||||
# Process this file with autoconf to produce a configure script.
|
|
||||||
|
|
||||||
AC_PREREQ(2.61)
|
|
||||||
AC_INIT(m4_esyscmd([echo -n $PACKAGE]), m4_esyscmd([echo -n $DATERA_VERSION]), m4_esyscmd([echo -n $SUPPORT_EMAIL]))
|
|
||||||
LT_INIT
|
|
||||||
AC_CONFIG_HEADER([config.h])
|
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
|
||||||
|
|
||||||
m4_include([../BTools/cscript/ccpp.m4])
|
|
||||||
|
|
||||||
AC_CONFIG_FILES([Makefile])
|
|
||||||
AC_OUTPUT
|
|
Loading…
Reference in New Issue
Block a user