mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
38e2e9ce83
A bunch of places need to edit files to incorporate the configured paths i.e. bindir, sbindir etc. Move this logic into a common file. Create arc_summary by copying arc_summary[23] as appropriate at build time instead of install time. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Closes #10559
14 lines
199 B
Makefile
14 lines
199 B
Makefile
bin_SCRIPTS = arc_summary
|
|
|
|
CLEANFILES = arc_summary
|
|
EXTRA_DIST = arc_summary2 arc_summary3
|
|
|
|
if USING_PYTHON_2
|
|
SCRIPT = arc_summary2
|
|
else
|
|
SCRIPT = arc_summary3
|
|
endif
|
|
|
|
arc_summary: $(SCRIPT)
|
|
cp $< $@
|