mirror of
https://github.com/troglobit/libite.git
synced 2026-11-14 19:03:05 +00:00
Inspect source links without following them when COPYFILE_SYM is requested, before rejecting directories. This makes the documented option recreate link text instead of copying the referent, including dangling and directory links. Preserve requested link timestamps and report link-creation errors without overwriting the destination. Cover direct calls, destination directories, normal dereferencing and the existing rsync file caller.
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# Ignore warnings about unused result, in e.g. write()
|
|
AM_CFLAGS = -W -Wall -Wextra -Wno-unused-result
|
|
AM_CPPFLAGS = -D_GNU_SOURCE
|
|
AM_LDFLAGS = -L../src/ ../src/libite.la -static
|
|
|
|
EXTRA_DIST = check.h data/fexist/dir/.placeholder data/fexist/executable
|
|
EXTRA_DIST += data/fexist/link data/fexist/regular data/lfile/fstab
|
|
EXTRA_DIST += data/lfile/group data/lfile/passwd data/lfile/protocols
|
|
EXTRA_DIST += data/lfile/services data/which/executable
|
|
EXTRA_DIST += data/which/executable-link data/which/regular
|
|
|
|
CLEANFILES = *~ *.trs *.log
|
|
|
|
TESTS_ENVIRONMENT = ([ -d data ] || ln -sf $(srcdir)/data) &&
|
|
|
|
clean-local:
|
|
-find -type l -name data -exec rm {} \;
|
|
|
|
TESTS =
|
|
TESTS += chomp
|
|
TESTS += copyfile
|
|
TESTS += fcopyfile
|
|
TESTS += copyfile-symlink
|
|
TESTS += dir
|
|
TESTS += fexist
|
|
TESTS += fisdir
|
|
TESTS += fopenf
|
|
TESTS += fsendfile
|
|
TESTS += lfile
|
|
TESTS += makepath
|
|
TESTS += pidfile
|
|
TESTS += printhdr
|
|
TESTS += progress
|
|
TESTS += rsync
|
|
TESTS += runbg
|
|
TESTS += str
|
|
TESTS += strmatch
|
|
TESTS += systemf
|
|
TESTS += touch
|
|
TESTS += tempfile
|
|
TESTS += which
|
|
TESTS += yorn
|
|
|
|
check_PROGRAMS = $(TESTS)
|
|
copyfile_symlink_SOURCES = copyfile-symlink.c
|