Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: 0.02
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (24 sloc) 0.753 kb
include config.mk
SRC = expac.c
OBJ = ${SRC:.c=.o}
all: expac doc
35:
${MAKE} PMCHECK=-D_HAVE_ALPM_FIND_SATISFIER all
.c.o:
${CC} -c ${CFLAGS} $<
expac: ${OBJ}
${CC} -o $@ ${OBJ} ${LDFLAGS}
doc: expac.1
expac.1: README.pod
pod2man --section=1 --center="expac manual" --name="EXPAC" --release="expac ${VERSION}" $< > $@
install: expac
install -D -m755 expac ${DESTDIR}${PREFIX}/bin/expac
install -D -m644 expac.1 ${DESTDIR}${MANPREFIX}/man1/expac.1
dist: clean
mkdir expac-${VERSION}
cp Makefile expac.1 expac.c expac-${VERSION}
sed "s/^VERSION = .*/VERSION = ${VERSION}/" config.mk > expac-${VERSION}/config.mk
tar cf - expac-${VERSION} | gzip -9 > expac-${VERSION}.tar.gz
rm -rf expac-${VERSION}
clean:
$(RM) ${OBJ} expac expac.1
Jump to Line
Something went wrong with that request. Please try again.