ufold

Прелама сваки UTF-8 улазни ред да стане у задату дужину
git clone https://git.sr.ht/~strahinja/ufold
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

INSTALL (1080B)


      1 Prerequisites
      2 =============
      3 
      4 * C compiler - defaults in config.mk
      5 
      6 
      7 Testing
      8 -------
      9 
     10 * Perl ≥ 5.010
     11 
     12 	$ make test
     13 
     14 
     15 Install
     16 -------
     17 
     18 	$ git clone https://git.sr.ht/~strahinja/ufold
     19 	$ cd ufold
     20 	$ su
     21 	# make install
     22 
     23 With got[1]:
     24 
     25 	$ got clone https://git.sr.ht/~strahinja/ufold
     26 	$ got checkout ufold.git
     27 	$ cd ufold
     28 	$ su
     29 	# make install
     30 
     31 
     32 Persistent build configuration file
     33 -----------------------------------
     34 
     35 The file config.mk will be sourced when building targets which also accept
     36 configuration through environment variables.  For example, CPPFLAGS and PREFIX
     37 are specified in config.mk.
     38 
     39 
     40 OpenBSD
     41 -------
     42 
     43 Before running make(1), comment the CPPFLAGS definition in config.mk above the
     44 line with the "OpenBSD" comment and uncomment the one below it:
     45 
     46 	#CPPFLAGS	= -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L \
     47 	#		  -D_XOPEN_SOURCE=700
     48 	# OpenBSD
     49 	CPPFLAGS	= -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L \
     50 			  -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
     51 
     52 Also, do the same for MANPREFIX:
     53 
     54 	#MANPREFIX	= $(DESTDIR)$(PREFIX)/share/man
     55 	# OpenBSD
     56 	MANPREFIX	= $(DESTDIR)$(PREFIX)/man