Skip to content

Instantly share code, notes, and snippets.

@BartOtten
BartOtten / Makefile
Created July 6, 2023 12:05
Workaround for Make running recipes only one.
post-install-check:
# Workaround for make running recipes only once.
@echo '>>> Run post-install using empty database <<<'
@make recreate-database
@make post-install
@echo "\n\n>>> Run post-install using imported database <<<"
@make import-database
@make post-install
# Check if the post-install would work for the next release
@echo "\n\n>>> Run post-install second time <<<"
%% -*- erlang-indent-level: 4; indent-tabs-mode: nil; fill-column: 80 -*-
%% ex: ts=4 sw=4 et
%%
%% Copyright 2012 Opscode, Inc. All Rights Reserved.
%%
%% This file is provided to you under the Apache License,
%% Version 2.0 (the "License"); you may not use this file
%% except in compliance with the License. You may obtain
%% a copy of the License at
%%