Files
pcas/src/libCom/misc/RULES
Andrew Johnson e39c5aad8b libCom: Cleaned up bldEnvData.pl and makeEpicsVersion.pl
Added a -q flag, and cleaned up and simplified the code.
Added -h (help) options, and make more use of other modules.
2012-04-05 17:28:19 -05:00

19 lines
809 B
Plaintext

#*************************************************************************
# Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
# National Laboratory.
# EPICS BASE is distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# This is a Makefile fragment, see src/libCom/Makefile.
MAKEVERSION = $(LIBCOM)/misc/makeEpicsVersion.pl
MAKEVERSION_FLAGS = -o $(notdir $@) $(INSTALL_QUIETLY)
MAKEVERSION_FLAGS += $(if $(EPICS_SITE_VERSION),-v "$(EPICS_SITE_VERSION)")
$(COMMON_DIR)/epicsVersion.h: $(CONFIG)/CONFIG_BASE_VERSION \
$(CONFIG)/CONFIG_SITE $(MAKEVERSION)
@$(RM) $(notdir $@)
$(PERL) $(MAKEVERSION) $(MAKEVERSION_FLAGS) $<
@$(MV) $(notdir $@) $@