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:
Michel Machado 2016-03-29 12:56:43 -04:00
parent abf811f04b
commit 64d169e248
2 changed files with 17 additions and 22 deletions

View File

@ -2,14 +2,14 @@ CC ?= gcc
CFLAGS += -std=c99 -Wall -Wextra -pedantic -MMD -ggdb CFLAGS += -std=c99 -Wall -Wextra -pedantic -MMD -ggdb
TARGETS = f3write f3read TARGETS = f3write f3read
EXPERIMENTAL_TARGETS = f3probe f3brew f3fix EXTRA_TARGETS = f3probe f3brew f3fix
PREFIX = /usr/local PREFIX = /usr/local
INSTALL = install INSTALL = install
LN = ln LN = ln
all: $(TARGETS) all: $(TARGETS)
experimental: $(EXPERIMENTAL_TARGETS) extra: $(EXTRA_TARGETS)
install: all install: all
$(INSTALL) -d $(PREFIX)/bin $(INSTALL) -d $(PREFIX)/bin
@ -18,9 +18,9 @@ install: all
$(INSTALL) -oroot -groot -m644 f3read.1 $(PREFIX)/share/man/man1 $(INSTALL) -oroot -groot -m644 f3read.1 $(PREFIX)/share/man/man1
$(LN) -sf f3read.1 $(PREFIX)/share/man/man1/f3write.1 $(LN) -sf f3read.1 $(PREFIX)/share/man/man1/f3write.1
install-experimental: experimental install-extra: extra
$(INSTALL) -d $(PREFIX)/bin $(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 f3write: utils.o f3write.o
$(CC) -o $@ $^ $(LDFLAGS) -lm $(CC) -o $@ $^ $(LDFLAGS) -lm
@ -45,4 +45,4 @@ cscope:
cscope -b *.c *.h cscope -b *.c *.h
clean: clean:
rm -f *.o *.d cscope.out $(TARGETS) $(EXPERIMENTAL_TARGETS) rm -f *.o *.d cscope.out $(TARGETS) $(EXTRA_TARGETS)

View File

@ -5,36 +5,31 @@ make
``` ```
## Compile experimental applications on Linux ## Compile the extra applications on Linux
### Install dependencies ### Install dependencies
- f3probe and f3brew require version 1 of the library libudev to compile. f3probe and f3brew require version 1 of the library libudev, and
On Ubuntu, you can install this library with the following command: 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 sudo apt-get install libudev1 libudev-dev libparted0-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
``` ```
### Compile experimental applications ### Compile the extra applications
``` ```
make experimental make extra
``` ```
NOTES: NOTES:
- Experimental software might compile on non-Linux platforms, but - The extra applications are only compiled and tested on Linux platform.
there is no guarantee given that they are only tested on Linux. - Please do not e-mail me saying that you want the extra applications
- Please do not e-mail me saying that you want an experimental software
to run on your platform; I already know that. 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. 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. If you do port any of them, please send me a patch to help others.
- Currently, f3probe, f3brew, and f3fix are experimental. - The extra applications are f3probe, f3brew, and f3fix.
## Use example of f3write/f3read ## Use example of f3write/f3read