mirror of
https://github.com/AltraMayor/f3.git
synced 2025-09-15 01:56:39 -04:00
Mark experimental applications as stable
The code of the applications f3probe, f3brew, and f3fix is now mature, and they have not received any significant bug report for about six months. From now on, one needs to compile these applications with ```make extra```
This commit is contained in:
parent
abf811f04b
commit
64d169e248
10
Makefile
10
Makefile
@ -2,14 +2,14 @@ CC ?= gcc
|
||||
CFLAGS += -std=c99 -Wall -Wextra -pedantic -MMD -ggdb
|
||||
|
||||
TARGETS = f3write f3read
|
||||
EXPERIMENTAL_TARGETS = f3probe f3brew f3fix
|
||||
EXTRA_TARGETS = f3probe f3brew f3fix
|
||||
|
||||
PREFIX = /usr/local
|
||||
INSTALL = install
|
||||
LN = ln
|
||||
|
||||
all: $(TARGETS)
|
||||
experimental: $(EXPERIMENTAL_TARGETS)
|
||||
extra: $(EXTRA_TARGETS)
|
||||
|
||||
install: all
|
||||
$(INSTALL) -d $(PREFIX)/bin
|
||||
@ -18,9 +18,9 @@ install: all
|
||||
$(INSTALL) -oroot -groot -m644 f3read.1 $(PREFIX)/share/man/man1
|
||||
$(LN) -sf f3read.1 $(PREFIX)/share/man/man1/f3write.1
|
||||
|
||||
install-experimental: experimental
|
||||
install-extra: extra
|
||||
$(INSTALL) -d $(PREFIX)/bin
|
||||
$(INSTALL) -oroot -groot -m755 $(EXPERIMENTAL_TARGETS) $(PREFIX)/bin
|
||||
$(INSTALL) -oroot -groot -m755 $(EXTRA_TARGETS) $(PREFIX)/bin
|
||||
|
||||
f3write: utils.o f3write.o
|
||||
$(CC) -o $@ $^ $(LDFLAGS) -lm
|
||||
@ -45,4 +45,4 @@ cscope:
|
||||
cscope -b *.c *.h
|
||||
|
||||
clean:
|
||||
rm -f *.o *.d cscope.out $(TARGETS) $(EXPERIMENTAL_TARGETS)
|
||||
rm -f *.o *.d cscope.out $(TARGETS) $(EXTRA_TARGETS)
|
||||
|
29
README.md
29
README.md
@ -5,36 +5,31 @@ make
|
||||
```
|
||||
|
||||
|
||||
## Compile experimental applications on Linux
|
||||
## Compile the extra applications on Linux
|
||||
|
||||
### Install dependencies
|
||||
|
||||
- f3probe and f3brew require version 1 of the library libudev to compile.
|
||||
On Ubuntu, you can install this library with the following command:
|
||||
f3probe and f3brew require version 1 of the library libudev, and
|
||||
f3fix requires version 0 of the library libparted to compile.
|
||||
On Ubuntu, you can install these libraries with the following command:
|
||||
```
|
||||
sudo apt-get install libudev1 libudev-dev
|
||||
```
|
||||
- f3fix requires version 0 of the library libparted to compile.
|
||||
On Ubuntu, you can install this library with the following command:
|
||||
```
|
||||
sudo apt-get install libparted0-dev
|
||||
sudo apt-get install libudev1 libudev-dev libparted0-dev
|
||||
```
|
||||
|
||||
### Compile experimental applications
|
||||
### Compile the extra applications
|
||||
|
||||
```
|
||||
make experimental
|
||||
make extra
|
||||
```
|
||||
|
||||
NOTES:
|
||||
- Experimental software might compile on non-Linux platforms, but
|
||||
there is no guarantee given that they are only tested on Linux.
|
||||
- Please do not e-mail me saying that you want an experimental software
|
||||
- The extra applications are only compiled and tested on Linux platform.
|
||||
- Please do not e-mail me saying that you want the extra applications
|
||||
to run on your platform; I already know that.
|
||||
- If you want experimental software to run on your platform,
|
||||
- If you want the extra applications to run on your platform,
|
||||
help to port them, or find someone that can port them for you.
|
||||
If you do port the software, please send me a patch to help others.
|
||||
- Currently, f3probe, f3brew, and f3fix are experimental.
|
||||
If you do port any of them, please send me a patch to help others.
|
||||
- The extra applications are f3probe, f3brew, and f3fix.
|
||||
|
||||
|
||||
## Use example of f3write/f3read
|
||||
|
Loading…
x
Reference in New Issue
Block a user