This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
ldapsaisie-supann/Makefile

33 lines
477 B
Makefile

NAME=ldapsaisie-supann
VERSION=`git describe | tr - . | cut -c2-`
FULLNAME=$(NAME)-$(VERSION)
all:
install:
uninstall:
dist-bzip2:
rm -rf build dist
mkdir -p build/$(FULLNAME) sdist
for i in *; do \
if [ "$$i" != "build" ]; then \
cp -R "$$i" build/$(NAME)-$(VERSION); \
fi; \
done
cd build && tar cfj ../sdist/$(FULLNAME).tar.bz2 .
rm -rf build
clean:
rm -rf sdist build
version:
@(echo $(VERSION))
name:
@(echo $(NAME))
fullname:
@(echo $(FULLNAME))